For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 2 1 3

The API client is making too many concurrent requests, and some are being throttled (429)

We are repeatedly getting Error 429 (The API client is making too many concurrent requests, and some are being throttled.) to screening requests in Pilot. However there have no more than 6 at the time, which is considerably less than the suggested 50 limit. Is there a lower limit set for Pilot environment?

world-checkworld-check-oneerrorpilot-environmenterror429
icon clock
10 |1500

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

Hello @plamenj,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

-AHS

@plamenj
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
2.4k 6 5 6

@plamenj

"Error 429 Too Many Requests" is sent as a response when the user has exhausted the maximum number of API calls per second. The users are advised to send 5 API requests per second(suggested limit is not 50) and by exceeding this limit they would receive the error 429. The error depends on the maximum number of API calls per second and the available capacity on the WC1 platform (number of API calls being sent to the WC1 server by all the users at that instance).

In order to deal with this error, please retry the failed API calls after a brief delay and have a mechanism at a client's end to detect 429 error and downscale the number of API calls fired accordingly for better results.

Here is an excerpt from the "Quality of Service" section of our WC1 API documentation for your reference.

"The throttling limits are applied to all requests made by a user of the API, so an HTTP 429 response for one method would require a delay waiting period for all other API requests that may be processing during the same time period, for the same API user. Appropriate error handling that can check for errors such as HTTP 429 and retry requests using a policy such as exponential backoff should, therefore, be added to all World-Check One API calls.

Requests made to the World-Check One API are rate limited to ensure a consistent experience for all customers, however exact throttling limits may vary over time to adjust for available capacity on the platform. When making requests to the World-Check One API, it is advisable to check for HTTP 429 Too Many Requests response codes and attempt to retry the affected requests after a brief delay."

For more detailed information, I request you to refer the "Quality of Service" section of our documentation.

Hope this answers your question, if you have any further queries feel free to reach out to us!!

icon clock
10 |1500

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

Write an Answer

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

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