Skip to content

Cannot have more than 0 active builds - AccountLimitExceededException

0

I've used codestar to set up a new project, but when it gets to the "build" step of the pipeline, I simply get the error:

Action execution failed
Error calling startBuild: Cannot have more than 0 active builds for the account (Service: AWSCodeBuild; Status Code: 400; Error Code: AccountLimitExceededException; Request ID: <x>)".

I raised a support request and it took about a week for them to say they've raised the limit to 20 for my account (which seems like it should be default), but.. I still get the same error. This makes me think the error may be incorrect or I've set up something incorrectly. Has anyone else seen this before? I couldn't find this particular error mentioned anywhere else.

asked 9 years ago3.9K views

8 Answers
0

I have the same problem. I've just created a new Build Project (in AWS CodeBuild Developer Tool). I'm trying to "start build". But I see the same error over and over:
"Build failed to start. The following error occurred: Cannot have more than 0 builds in queue for the account."

Also, when I'm trying to change the Project configuration option "Enable concurrent build limit - optional" (Limit the number of allowed concurrent builds for this project) to true and set "Restrict number of concurrent builds this project can start" (Concurrent build limit) on at least 1. I hae the error:

"Project-level concurrent build limit cannot exceed the account-level concurrent build limit of 0."

But I didn't set those account-level concurrent build limit to 0! And I can't find where it can be changed!

answered 5 years ago

  • Have you resolved this issue ? i need workaround

0

I've the same problem.

Have you solved the problem?

I'm using AWS CodeStar.

Edited by: carlosfaria on Jan 6, 2018 8:41 AM

answered 9 years ago

0

If you are still seeing this error, you can contact AWS support. Please refer to https://docs.aws.amazon.com/codebuild/latest/userguide/limits.html. Thanks.

AWS

answered 9 years ago

EXPERT

reviewed 2 years ago

0

Hi,
we have the same problem in codebuild
and we just have 80 build projects

Error: Cannot have more than 0 active builds for the account

how to check active builds?

answered 8 years ago

0

Paul,

Are you using the account Id (35****94) with which you posted this message? If yes, you should get the default 20 concurrent builds and not be seeing this error message. Could you private message me the buildARN that you got this error message for?

AWS

answered 8 years ago

0

I've the same problem.

How can I get help with this?

answered 5 years ago

0

The same problem for me.
I have one build project only.
Need some advice to resolve this.

Edited by: nguyentrunghau on Aug 18, 2021 6:35 AM

answered 5 years ago

0

Hello,

I hope everyone is doing well.

CodeBuild has an on-demand fleet, which scales based on incoming customer volume. If capacity is not immediately available, CodeBuild tries to queue the builds for additional capacity to be available in the build fleet.

The rate at which the builds are processed are determined by your build concurrency limit - which is 0 as per the error message. The default is 60. But this can be lower for new accounts.

Did you just create an account? if so, can you please launch an EC2 for a few minutes (a t2.micro should do fine)? Then you can try again your code build at least an hour after.

https://docs.aws.amazon.com/codebuild/latest/userguide/limits.html#service-quotas

Hope it helps!

Regards, Rajnish N.

AWS

answered 2 years 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.