question

jonathan-lloyd avatar image
jonathan-lloyd asked ·

Rate limit impact on access and refresh tokens?

Hello,

We occasionally see 429 responses due to our batching of status checks against the RC REST API.  If we receive a 429, but then continue to hit the endpoint, does RC eventually invalidate the access and refresh tokens?  We are running into a problem where we cannot seem to get a new refresh token because the old one is invalid even though it appears it should be valid.

Thanks.
topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

anton-nikitin avatar image
anton-nikitin answered ·
Jonathan, see  https://developer.ringcentral.com/api-docs/latest/index.html#!#APIRateLimits.html

The fact that you are getting 429 does not cause token invalidation. There are multiple possible reasons why refresh tokens may become invalid:
* Previously completed refreshment transaction (old tokens become invalid)
* End user password change
* Direct revocation via API
* Session invalidation by end-user via Service Web portal
* Expiration
* Reaching the limit of simultaneously active sessions.

Hope it helps. If you provide some reference to your account (client_id or RC account ID or organization name) I can take a look in our logs about your particular case.

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered ·

One more reason the token can get invalidate is if someone calling https://platform.devtest.ringcentral.com/restapi/oauth/revoke API and passing the active token to revoke. This will also make a toke invalid

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.