Hi everyone,
I’m having trouble making batch requests using the Asana API. With these batch requests, we retrieve tasks assigned to a specific person. It has been working perfectly for months, but last week we started receiving a 500 status code error:
“Oops! An unexpected error occurred while processing this request. The input may have contained something the server did not know how to handle…”
Sometimes, I even get a 200 response, but with some errors in the response.
Are there any known issues with the Asana API, or has something changed?
body request example:
{
"data": {
"actions": [
{
"options": {
"fields": [
"gid",
"name",
"custom_fields",
"assignee_section.gid",
"assignee_section.name",
"assignee_section.resource_type",
"completed",
"created_at",
"due_on",
"modified_at",
"notes",
"projects.gid",
"projects.name",
"projects.resource_type",
"resource_subtype",
"resource_type",
"start_on",
"assignee.gid",
"assignee.name",
"assignee.resource_type",
"actual_time_minutes",
"dependents",
"dependencies",
"parent.name",
"parent.gid",
"parent.resource_type",
"parent.projects.name",
"created_by.email",
"approval_status"
]
},
"data": {
"assignee": "ASSIGNEE_ID",
"workspace": "WORKSPACE_ID",
"completed_since": "now"
},
"relative_path": "/tasks",
"method": "get"
}
]
}
}