Genesys Cloud CX

 View Only
Discussion Thread View
  • 1.  Rate Limit issue with Bearer tokens

    Posted 07-20-2022 20:48
    We are a 3rd Party Bot company and integrating with Genesys using Open messaging platform. For this we have created Bearer token using ClientId and ClientSecret. But the rate limit is set to 300 request per mint. One of the suggestion from Genesys Consultant was to create a pool of tokens using using different `clientId(s)` and `clientSecret(s).

    We tried it out by generating 3 OAuth tokens using 3 different clientIds and clientSecrets. We found that If one of the generated tokens exhausted its limit of 300 requests/min other tokens also sent error code 429(Too many requests) as the response.

    This is an issue because now if we were to have a pool of tokens, which were generated by different Oauth Clients(using different clientIds and clientSecrets) if one of the tokens would breach the limit, the other tokens will be considered to have breached it as well.

  • 2.  RE: Rate Limit issue with Bearer tokens

    Top 25 Contributor
    Posted 08-02-2022 16:44
    If they are different oAuth Clients, then they should not share rate limits, so if that really is happening then you need to reach out to Support.

    That being said, 300 a minute is 5 a second - are you hitting that?

    Paul Simpson
    Sr. Cloud Partner
    AAA Club Alliance Inc.