Why am I seeing an “Item could not be created: unauthorized” error on the dashboard when trying to deploy the application?

Issue

When I'm trying to deploy the application which is connected to Github, I'm getting "Item could not be created: unauthorized" error message.

Resolution

The error message you are getting typically indicates that the action you are trying to perform has been denied due to lack of authorization i.e. when GitHub tokens are invalid. Toggling the GitHub connection (reauthorizing GitHub access) should generate new tokens and should resolve the issue.

Below are the recommendations based on your configuration:

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support