Unable to Heroku API Key

Adding a heroku api key from the account/heroku page, results in :

Error: Unknown Heroku exception. If we can help, contact us.

The api request is returning a 400 error

1 Like

I’m getting a similar issue when trying to set myself as a Heroku deploy user (400 status code):

{message: "Unknown Heroku exception."}

In the response headers:

X-Frame-Options: DENY

I’m pretty sure this is just Heroku being down or slow.

This is how I figured it out on the 22nd when we had a couple of other complaints; indeed today, they report API issues.

CC @cuthullu

(do let me know if I’m wrong though!)

Hi rishimkumar – thanks for getting back to us on this – i’ve tried again this morning and looked at that link you posted, however I still have the same issue. Really strange as I have been able to do it before, I was able to do it yesterday in fact, then all of a sudden it stopped working. Interestingly my colleagues aren’t able to do it either

I’ve attached a screenshot of the behaviour – I still get the same 400 response:

Hi, I have also been getting this error since yesterday evening, when trying to add a new heroku key or associate the key with my user. Heroku’s API status looks OK. Any ideas?

Thanks for reporting this everyone. We’ve been able to reproduce and are investigating. We’ll update here when we know more.


Any update on this? It still appears broken for me.

1 Like

Yeah! This has gotten some views and likes. A few paid orgs complained.

We’ll have someone look into the root cause and hope to have resolution soon. One engineer did some legwork already and it points to Heroku deprecating an API we depended on.

We’ll update once we have resolution.


We’ve applied a fix for the issue that prevented adding Heroku API keys to CircleCI. It will be fully rolled out within the next couple of hours.

Thank you for your patience while we investigated this problem.

Please let us know if the issues isn’t resolved for you after the fix has rolled out.

Working fine for me. Thanks very much guys.

This bug is back… the ui show’s the button being updated to empty.
In the console i see Your Heroku API key is invalid from the network request. Would probably be more helpful to show an notification on the website!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.