Hi there, I'm using the Instantiate a project from a project template endpoint, and I'm running into an error message that doesn't line up with the API reference's example request body.
The part of the request body producing the error is requested_dates
The project template being used has a Due Date, but does not have a Start Date.
Error message:
{ message: 'requested_dates: [0]: Value is not an object',
help: 'For more information on API status codes and how to handle them, read the docs on errors: https://developers.asana.com/docs/errors' }
Example requested_dates array when including a Due Date, per the API reference:
requested_dates: [{gid: '2', value: '2026-01-15'}]
My full request body:
{ privacy_setting: 'public_to_workspace', team: '<<team id goes here>>', name: '<<event name goes here>>', requested_dates: [{ gid: '2', value: <<date goes here in this format: YYYY-MM-DD>> }] }
I don't understand the error message, given that I believe my requested_dates array is formatted the way the API reference recommends. Can someone help me understand this issue?