Help Center/ Customer Operation Capabilities/ FAQs/ API Calling/ How Do I Handle the Error APIG.0308?
Updated on 2024-06-05 GMT+08:00

How Do I Handle the Error APIG.0308?

If error message "The throttling threshold has been reached: policy user over ratelimit,limit:XX,time:1 second","error_code":"APIG.0308" is returned when you call an API, it means that the number of concurrent requests have exceeded the service limit. Each service has a concurrency limit, for example the most concurrent requests that a service can process may be XX per second.

You can use the following two methods:

  1. Check the code to see if there is a concurrency issue, and if there is, wait for about 2 to 5 seconds to resend the request.
  2. Check the backend information to confirm if the results of the previous requests were returned before sending more requests.

If you need to support higher levels of concurrency, contact us at Presales Support.