My AWS Batch job failed, and I received the following error message: "CannotStartContainerError: Error response from daemon: failed to initialize logging driver: failed to create CloudWatch log stream: ThrottlingException: Rate exceeded status code: 400." How can I resolve this error?
Short description
This error means that you reached your Amazon CloudWatch service quota for API requests. When you reach this quota, your CreateLogStream API call is throttled.
You can receive this error when using any of the following AWS Cloud services to programmatically submit multiple jobs at the same time:
- AWS Command Line Interface (AWS CLI)
- AWS SDKs
- AWS Lambda
- AWS Step Functions
Resolution
Consider implementing one or more of the following solutions: