Getting 500 Internal Server errors

We’re observing 500 Internal server errors for different API calls from Asana API. We noticed this in following endpoints till now:

While fetching a particular user, we’re getting below error:

API request:
curl -X GET -H 'Accept: application/json' -H 'Authorization: ****' -A 'Jersey/2.31' 'https://app.asana.com/api/1.0/users/1203247440126224?opt_fields=name%2Cemail'

API response:

We’re able to get the tasks data if we retry the same API calls.

API request which was failing earlier with 500

curl -X GET -H 'Accept: application/json' -H 'Authorization: ****' -A 'Jersey/2.31' 'https://app.asana.com/api/1.0/projects/401497360856919/tasks?opt_fields=name%2Cnotes%2Ccompleted%2Ccreated_at%2Ccompleted_at%2Cresource_subtype%2Ccompleted_by%2Cstart_on%2Cdue_on%2Cdue_at%2Cassignee%2Ccreated_by%2Cmodified_at%2Cliked%2Cnum_likes%2Cfollowers%2Cprojects%2Cparent%2Cworkspace%2Cmemberships.section.id%2Ccustom_fields&offset=<offset>&limit=100'

1 Like

Do you think it may have something to do with the “email” opt_field ?
I see you asked it in the first sample, but not in the 2nd…
I think that field is not always available depending on which endpoint you uses, but I am not 100% sure about it.
Just a hint on something you can try.

@Frederic_Malenfant Thanks for your response. I tried but it’s the same.

Hi,

I am working with @Fivetran_Developers, and this problem is causing us some trouble as well

We can’t get the data into our data warehouse, which is causing some issues in our processes

@Fivetran_Developers,

Send this issue to api_support@asana.com and include the “Phrase” - that phrase tells Asana support exactly what and where the error is.