Most often, we receive the AWS ThrottlingException error when we use the AWS Systems Manager Parameter Store.
Here, at Bobcares, we assist our customers with several AWS queries as part of our AWS Support Services.
Today, let us see how we can fix this error.
AWS ThrottlingException
The “ThrottlingException” error message indicates “Rate exceeded” and can be similar to one of the following:
An error occurred (ThrottlingException) when calling the GetParameters operation (reached max retries: 4): Rate exceeded An error occurred (ThrottlingException) when calling the GetParameter operation (reached max retries: 4): Rate exceeded An error occurred (ThrottlingException) when calling the GetParametersByPath operation (reached max retries: 4): Rate exceeded An error occurred (ThrottlingException) when calling the DescribeParameters operation (reached max retries: 2): Rate exceeded
If the parameter Store API calls exceed the maximum allowed API request rate per account and per Region, it leads to the error.
Moving ahead, let us discuss the steps our Support Techs employ to troubleshoot the error.
-
Troubleshooting Methods
To prevent or mitigate the errors, we try the following:
- Reduce the frequency of API calls.
- Use APIs such as GetParameters that return more than one value.
- Stagger the intervals of the API calls not to run at the same time.
- Implement error retries and exponential backoff while making API calls.
- Increase Parameter Store throughput.
However, make note that increasing throughput incurs charges. We can increase it using the AWS Systems Manager console, the AWS CLI, or AWS Tools for Windows PowerShell.
To avoid errors, we make sure to use the most recent version of the AWS CLI.
-
Request a service quota increase
Nevertheless, if the above steps fail, we can request a service quota increase.
Prior to submitting a request, we need to identify the API call and call rate.
To request a service quota increase for Parameter Store, our Support Techs recommend these steps:
- Initially, we open the AWS Support Center, and select, Create case.
- Then we select, Service limit increase.
- For Limit Type, we select EC2 Systems Manager.
- For Region, we select the AWS Region.
- Then for Resource Type, we select Parameter Store.
- Now we can select the Limit that we want to increase and enter the new value.
- In the Use case description text box, we provide the time frame and the reason for the quota increase request.
- Finally, we can select preferred contact options, and then click, Submit.
[Find it useful? Here’s a lot more for you]
Conclusion
In short, we saw how our Support Techs troubleshoot these errors for our customers.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments