Error: schedule_dates requires including dates in the duplication

I’m getting this error: “schedule_dates requires including dates in the duplication.”.

Here’s the code I’m sending (via Zapier):

URL: https://app.asana.com/api/1.0/projects/[PROJECTNUMBER]/duplicate
Payload Type: Form
Data:
include[0]: members
include[1]: task_notes
name: [[USER ENTERED NAME]]
include[6]: task_dependencies
include[8]: task_tags
include[2]: task_assignee
include[9]: task_projects
include[3]: task_subtasks
team: [[TEAM NUMBER]]
include[7]: task_followers
include[5]: task_attachments
schedule_dates.due_on: 2021-11-24
schedule_dates.should_skip_weekends: true
Wrap Request In Array: no
File:
Unflatten: yes
Basic Auth:
Headers:
Authorization
Bearer [NUMBER]

All of the tasks in my project have dates. Maybe I"m doing something wrong?

Hi @Taylor_Sternberg and welcome to the forum,

Try enclosing the “2021-11-24” in quotation marks. Does that help?

Nope. Quotes gives me the same.

Ah! You’re missing an include of task_dates, like

include[4]: task_dates

As it says in the portion of the documentation that discusses project duplication and schedule_dates :

task_dates must be included to use this option.