Heroku: Your account has reached its concurrent build limit

Heroku

Heroku Problem Overview


I'm trying to deploy my app to heroku, currently using the free tier. Over the past 5 days I've been redeploying the app as I made changes. I went overzealous with the deploys and now my app is up to version 35 on heroku under the "activity" tab.

Now the error message in the title prevents me from deploying my app. Google search didn't return a thing. If I have reached the deployment limit how do I delete/free up my concurrent build space?

Heroku Solutions


Solution 1 - Heroku

For my case, heroku restart worked.

Solution 2 - Heroku

We can cancel the current build. Or any ongoing build using below

heroku builds:cancel

You can check the list of builds using

heroku builds

Or you can cancel any build using build hash from the above result list.

In case builds command not working, you need to install it using

heroku plugins:install heroku-builds

Solution 3 - Heroku

I had to try two of these answers back-to-back. Individually, they didn't work for me.

I needed to install heroku-builds with

heroku plugins:install heroku-builds

Then cancel the ongoing build with

heroku builds:cancel

And finally did a heroku restart.

Solution 4 - Heroku

Finally, I managed to resolve an issue with the help of the following 3 commands and it works:-

$ heroku plugins:install heroku-builds
$ heroku builds:cancel
$ heroku restart

Solution 5 - Heroku

Try this command from your project directory

heroku restart

Solution 6 - Heroku

The Heroku said "Engineers are investigating API availability. This may affect Dashboard, CLI commands, builds and other aspects of the platform." I think this is the reason.

Solution 7 - Heroku

Now you have to verify your account, putting your credit card in Heroku Account.

"Unverified accounts can now run only one build at a time across all their apps. Verifying the account will automatically lift this limit."

see: https://devcenter.heroku.com/changelog-items/1344

Solution 8 - Heroku

I managed by mistake to cancele the build in the terminal by ctrl+c, but the build at heroku account was still running.

The correct way is:

If didn't installed earlier:

>heroku plugins:install heroku-builds

And then:

>heroku builds:cancel -a YOUR_HEROKU_APP_NAME

Solution 9 - Heroku

Try to:

  • Try to check https://devcenter.heroku.com/changelog-items/1344 for important logs

  • Try to reinstall your app(%65 works)

  • Try to create a new account(%100 works)

Solution 10 - Heroku

If you are a little noob like me who just ran out of all deploys available. Just create a new app and the problem is then solved! Simple!

Solution 11 - Heroku

This also happens if you have your repo connected and set to auto-deploy.

I had this issue since I had just updated my repo, heroku had started a build already. So when you tell it to build there's already a build going on.

The solution is just to wait until the build finishes, or at least that solved it for me.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionkshatriiyaView Question on Stackoverflow
Solution 1 - HerokuYigit AlparslanView Answer on Stackoverflow
Solution 2 - HerokuMukesh Singh RathaurView Answer on Stackoverflow
Solution 3 - HerokulizziepikaView Answer on Stackoverflow
Solution 4 - HerokuVikas DwivediView Answer on Stackoverflow
Solution 5 - HerokuSarath ChandranView Answer on Stackoverflow
Solution 6 - HerokuBingqiang WenView Answer on Stackoverflow
Solution 7 - HerokuBruno SouzaView Answer on Stackoverflow
Solution 8 - HerokuSaar SeriView Answer on Stackoverflow
Solution 9 - Herokuuser12052519View Answer on Stackoverflow
Solution 10 - HerokuJaydeep DholakiaView Answer on Stackoverflow
Solution 11 - HerokuAvi GraniteView Answer on Stackoverflow