A cloud-based identity and access management service for securing user authentication and resource access
Hi @Anonymous • Thank you for reaching out.
The HTTP 429 error occurs when there are too many requests being sent to a service from an application/API and the service cannot handle the requests beyond the threshold. The service then responds with HTTP error code 429.
To resolve the issue, on HTTP error code 429, begin throttling your client app/api using an exponential backoff approach:
Retry =
{
Delay= TimeSpan.FromSeconds(2),
MaxDelay = TimeSpan.FromSeconds(16),
MaxRetries = 5,
Mode = RetryMode.Exponential
}
Once you implement exponential backoff approach, the behavior will be:
- Wait 1 second, retry request
- If still throttled wait 2 seconds, retry request
- If still throttled wait 4 seconds, retry request
- If still throttled wait 8 seconds, retry request
- If still throttled wait 16 seconds, retry request
- At this point, you should not be getting HTTP 429 response codes.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.