How do I resolve the "failed to initialize logging driver: failed to create Cloudwatch log stream status code: 400" error when I run an AWS Batch job?
Last updated: 2022-02-03
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?
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
Consider implementing one or more of the following solutions: