Hello,
I am working on a project which requires me to extract information from tasks from all projects within an Asana workspace. I have searched and found out that an easy way to achieve this is by using the Asana API and a service account token (since the workspace is on Asana Enterprise).
I have decided to use the Asana Python library for this.
I am not an Asana Admin and so I had to receive the token from another person. The issue is that when I tried to use the token, I received the following error:
When I asked them to send me a different token, the same issue occurred. I do have to say at this point that for both of these cases, there was a significant time (at least a couple of hours) between the token being generated and me using it in my script.
The only time when I managed to make it work was when I used a new token right after it was generated.
Thus, my question is, is there a time limit in which a service account token needs to be used before it “deactivates” itself and a new one needs to be generated?
And secondly, is there an expiry date for a service account token?
I wasn’t able to find anything about this in the Asana documentation so any help on this would be greatly appreciated.
Thank you very much!