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 minute" and error code "APIG.0308" are displayed when you call an OCR API, the maximum number of concurrent API calls specific to the service, for example, XX calls per minute, has been reached.
Rectify the fault using either of the following methods:
- Use the retry mechanism to rectify the fault by checking the return value in the code and retrying the requests after a short period of time (for example, 2 to 5 seconds).
- Alternatively, check whether the results of the previous request were returned at the backend. If they were, send the next request. This helps prevent excessively frequent requests.
If you need higher concurrency, contact us.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot