Our integration with the API has recently been hitting timeouts when refreshing tokens resulting in a few customers losing their connection. What is the recommended time we wait for a response from the refresh token call?
Access tokens are valid for 10 minutes. However, the refresh token has no expiration date/time but it does expire when a new access token and refresh token are generated.
If there are conflicting oauth calls, this can cause the refresh token to be expired. When you make the oauth call with a particular set of user credentials, it will invalidate any previously issued tokens.
Additionally, The GET /login call has an optional ttl parameter. The default is 10 minutes if you do not specify a ttl in the login call.
Hope this helps!