My application is getting “Rate Exceeded” errors when calling to AWS Auto Scaling. What can I do to avoid this error?
All calls to AWS Auto Scaling, whether from an application, the AWS Command Line Interface (AWS CLI), or the AWS Management Console, cannot exceed the maximum allowed API request rate per account and per region. If API requests exceed the maximum rate, you receive a “Rate Exceeded” error and further API calls are throttled.
To avoid the “Rate Exceeded” error and throttling, verify that your application is making only necessary calls.
To prevent or mitigate “Rate Exceeded” errors and throttling, try these solutions:
Validate “describe” calls
Excessive “describe” calls contribute to the total API requests measured against the allowed request rate. Verify your application to be sure that all “describe” calls are necessary, and consider solutions other than “describe” calls where possible.
Check calls from third-party applications
Third-party applications might make continuous calls to AWS Auto Scaling. Verify your third-party applications to be sure that they are not making unneccessary calls to AWS Auto Scaling.
Implement error retries and exponential backoffs
Error retries and exponential backoffs can help limit the rate of API calls. Each AWS SDK implements automatic retry logic and exponential backoff algorithms. For more information, see Error Retries and Exponential Backoff in AWS.
Request a service limit increase in the AWS Support Center
To get a service limit increase, you must confirm that you validated your API call rate, as well as implemented error retries or exponential backoff methods. In your request, you must also provide the region and timeframe related to the throttling issues.