We are implementing an application, which includes various calls to multiple APIs.
The issue we are facing now is that after some executions of our app, we get an error message "Too Many Requests. User is allowed 10 requests every 5 minutes.".
We know that there are some limitations about how many times we can call an API, but 10 requests every 5 minutes is a very strict limit
Also, the error message does not show at which API the specific limit exists.
So, do you know which API has this limit and if it is normal to accept only 10 requests every 5 minutes?
It's tough to answer your question without a few pieces of information:
What is the use case of what you are trying to do? (e.g. Export external contacts, call the audit service, etc...)
The APIs or endpoints you are calling when you get this error.
A correlation id from the error message thrown. This correlation id can be retrieved from the HTTP Response header inin-correlation-id. If we have the correlation id we can look at the logs and try to understand what is going on.
In the meantime, here is a link to our rate-limits by API service. That does have a few limits listed with a value of 10.
Thanks,
John Carnell
Manager, Developer Engagement
We have a premium app that automates the creation of a number of settings such as trunks, queues, oauth clients etc. As a result, during the execution of the wizard we do invoke a number of API calls. In addition, we verify the creation of these settings since occasionally some items where not created on time and they were mandatory to proceed causing the wizard to fail. We use a wide variety of APIs to achieve this. If required, we could prepare a list of these API calls.
As you understand, in a live environment, the premium app can be potentially invoked by multiple clients in parallel with a high probability of failures due to this rate limit (we assume the rate limit is linked to the OAuth client performing the API calls).
in the guide here: https://developer.mypurecloud.com/api/rest/rate_limits.html , the 429 error is described and it is mentioned that there is the option to increase this limit depending on the use case. We are pretty sure our use case requires an increase of this limit. Is this possible and if yes to what extend? We need to know the limitations that the Genesys environment will impose into our solution.
An example correlation id is this : "4684ce4f-3d09-4e9c-be20-90874f2c89dd". Thank you.
You're being rate limited by the request to GET /api/v2/integrations/clientapps. The limiter you're hitting is one that is specific to that resource and not the overall 300 RPM limiter for the entire API. We can't address here, on the dev forum, whether an increase will be considered or not. To request an increase to a limit, you'll need to open a case with Genesys Cloud Care to formally make the request.