Skip to content

Instantly share code, notes, and snippets.

@qayshp
Last active January 24, 2020 02:09
Show Gist options
  • Save qayshp/234ab74e50f398ace78d to your computer and use it in GitHub Desktop.
Save qayshp/234ab74e50f398ace78d to your computer and use it in GitHub Desktop.
Unable to use GitHub Auto or Manual Deploy

Linking our GitHub open source team repo, FerryTime/HackTheCommute to the Heroku app fairytime gives an error.

Item could not be created:
Unknown Error. Please contact support.

A refresh of the deploy page for the app will then show GitHub as connected. All seems fine, as it lists the branches and even shows commit diffs for the releases. This is an illusion :(

If you select manual deploy for any branch, you get another error.

Item could not be created:
Not Found

Enabling automatic deployments doesn't catch pushes to GitHub.

Deployment succeeds when pushing the git repo to Heroku.

To test that this wasn't just the Heroku app, I created and tried linking the GitHub repo to Heroku app fairyferry. It gave the same errors. To check that Heroku manual deploy at least worked, I went to Heroku app hh-helptheworld and did a manual deploy using the linked open source GitHub team repo happyhousing/happyhousing. That was successful. I also tried removing and readding the GitHub repo to all above listed Heroku apps. There was no change.

@qayshp
Copy link
Author

qayshp commented Mar 22, 2015

Problem solved.

"Third-party application access policy" for the GitHub Team seems to be causing this issue.

@johnkariuki
Copy link

How did you solve it?

@mayankkushal
Copy link

+1 How did you solve it?

@metoloid
Copy link

+1 How did you solve it?

@youngda
Copy link

youngda commented Feb 2, 2018

+1 How did you solve it?

@i8ramin
Copy link

i8ramin commented Feb 22, 2018

+1 How did you solve it?

@ygimenez
Copy link

+1 How did you solve it?

@hafbau
Copy link

hafbau commented Jan 23, 2020

+1 HOW DID YOU SOLVE IT?

@qayshp
Copy link
Author

qayshp commented Jan 24, 2020

The UI has changed a bit over the years but it's now a radio button under Settings -> Actions for the repository in GitHub.

@qayshp
Copy link
Author

qayshp commented Jan 24, 2020

The option you'll want is called "Enable local and third party Actions for this repository".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment