Description
Sometimes when we fetch a new access token, we get an error. This is a problem because access tokens only last 1 hour - so we need to fetch new tokens frequently.
We do use retries with exponential backoff, but sometimes we just can’t get a new token, despite retrying several times. This causes a lot of confusion for our customers, because Zoom appears to “not work” randomly for them, and then they blame our product.
I found this thread, but was hoping for more information or a way to stop these errors: Occasional error when refreshing access / zak tokens - #6 by tommy
We already refresh the token “on user action” rather than in bulk. We only refresh the token when the currently stored token has already expired.
Error
400:
{'reason': 'Invalid request : token created error: Save Access token into Database error', 'error': 'invalid_grant'}
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Which Endpoint/s?
https://zoom.us/oauth/token
How To Reproduce (If applicable)
Not really applicable… we fetch a refresh token successfully using the same code hundreds of times per month.