I am adding my request to see if anyone can identify anything that could be causing the issue. In this example, I am trying to submit 5, but only 3 go through. It doesn’t matter how many I submit, only 3 go through. The rest get 503 errors saying an unexpected error occurred…
Here is my request:
curl --location ‘https://app.asana.com/api/1.0/batch’
–header ‘Accept: application/json’
–header ‘Content-Type: application/json’
–header 'Authorization: Bearer ###
–data ‘{
“data”: {
“actions”: [
{
“relative_path”: “/task_templates/templateId/instantiateTask”,
“method”: “post”,
“data”: {
“name”: “Name 001”,
“memberships”: [
{
“project”: “projectId”,
“section”: “sectionId”
}
]
}
},
{
“relative_path”: “/task_templates/templateId/instantiateTask”,
“method”: “post”,
“data”: {
“name”: “Name 002”,
“memberships”: [
{
“project”: “projectId”,
“section”: “sectionId”
}
]
}
},
{
“relative_path”: “/task_templates/templateId/instantiateTask”,
“method”: “post”,
“data”: {
“name”: “Name 003”,
“memberships”: [
{
“project”: “projectId”,
“section”: “sectionId”
}
]
}
},
{
“relative_path”: “/task_templates/templateId/instantiateTask”,
“method”: “post”,
“data”: {
“name”: “Name 004”,
“memberships”: [
{
“project”: “projectId”,
“section”: “sectionId”
}
]
}
},
{
“relative_path”: “/task_templates/templateId/instantiateTask”,
“method”: “post”,
“data”: {
“name”: “Name 005”,
“memberships”: [
{
“project”: “projectId”,
“section”: “sectionId”
}
]
}
}
]
}
}’