Problemes with Team & team_gid


I’ve problem with get the team gid.
I use the API and i get the follow error msg:
“errors”: [
“message”: “team: Not a Long: {team_gid}”,
“help”: “For more information on API status codes and how to handle them, read the docs on errors: Asana

I don’t understand the error msg…

Can someone help me ?

Hi @Amin_Fas and welcome to the forum,

Asana GIDs now need to be strings. Are you using a client library and if so which one? It almost sounds like code you’re using is still coded to expect a long instead of a string.

Also if you can post the code for your request, that might be helpful in figuring out what’s up.

Hi, thanks for the response :slight_smile:

I did not see that a string is required my fault.

Now it works perfectly !

Thanks a lot :slight_smile:

1 Like