401 (Unauthorized)

API Discussion
Hi, I believe this is a very stupid question and I'm sorry in advance. I'm developing an app that uses the Zone API. However, the API stops working periodically (about once a day) and returns the 401 (Unauthorized) error. Is this because of my access token expiring?

Thanks a lot.
The access token should be good for 24 hours. Are you getting the 401 less than 24 hours after you retrieved one?
Ah I couldn't find that information in the documentation. That explains it, thank you.
Yeah I don't think the docs explicitly tell you the expiration time, but it is returned with the token (the expires_in field is the # of seconds until it expires).

Join the Conversation

Return to Forum