By using AWS re:Post, you agree to the Terms of Use

Code Build Failed


Hello, I create a new pipeline for my application and the pipeline failed in the Build parts. the error is :

Error calling startBuild: Cannot have more than 0 builds in queue for the account (Service: AWSCodeBuild; Status Code: 400; Error Code: AccountLimitExceededException;

Thank you for helping me.

2 Answers

The error does seem to be relating to account serviced quota.

Not sure how many Codepipline and CodeBuild projects you have but can you check here to see if you are exceeding the Concurrently running builds quota, among other service quotas?

answered 8 months ago

There are various account level quotas that AWS sets for new and existing accounts. Some of the quotas protect you from unpredicted cost skyrocketing when you just start the cloud journey, the other ones might be applied if AWS detects something unusual in your accounts (e.g. an open vulnerability, an expired credit card, ...)

The best way to resolve this issue is contacting AWS Support and requesting the quota increase for the number of concurrent builds in AWS CodeBuild in that account. If there are some things than need to be fixed in your account first, you will be informed about that. Otherwise, the quota will be increased, so you can run your builds in AWS CodeBuild.

profile picture
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions