Este contenido no está disponible en el idioma seleccionado
Trabajamos constantemente para que el contenido esté disponible en el idioma seleccionado. Gracias por tu paciencia.
Why am I receiving a ThrottlingExceptions error when making requests to AWS KMS?
2 minutos de lectura
0
I received a ThrottlingException error when making requests to AWS Key Management Service (AWS KMS) similar to the following:
You have exceeded the rate at which you may call KMS. Reduce the frequency of your calls. (Service: AWSKMS; Status Code: 400; Error Code: ThrottlingException; Request ID: EXAMPLEID
Short description
The ThrottlingException error code indicates that the rate of requests to AWS KMS is exceeding the request quotas for your AWS account. As a result, the AWS KMS service throttles the request.
Resolution
Use the following best practices to troubleshoot ThrottlingException errors:
Review AWS KMS usage metrics from the service quotas service to identify the maximum and average rate of requests per second. AWS KMS publishes usage metrics to Amazon CloudWatch for different AWS KMS request quotas. For example, Encrypt and Decrypt operations use shared quotas for cryptographic operations.
Use the data key caching feature with the AWS Encryption SDK encryption library. Data key caching reduces the rate of API requests by caching and reusing the data keys for encryption to meet cost and performance requirements.