Question

Can't connect GitHub account

I can’t connect my GitHub account to the DI app creation step 1 here: https://cloud.digitalocean.com/apps/new?i=32eb28

After I select the repo to connect to, Github redirects me back to DO: https://cloud.digitalocean.com/apps/github/auth/callback?installation_id=15219181&setup_action=update&state=HIDDEN_BY_ME But then I get:

{
id: "Internal Server Error",
message: "Server Error"
}

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Fixed by help from Support:

The error you are seeing typically indicates that you are trying to
 authorize a Github organization account, but have not yet authorized 
your personal Github account. The best way to correct this would be to 
delete the DigitalOcean app from the app's section of your Github 
account. Please then sign out of your Github account. Once done go 
through the Github authorization again in your DigitalOcean app's 
create flow. Please first authorize your personal Github account 
followed by your organization. The personal account is what provides 
the correct permissions the org has given your Github user. You must 
also have owner or maintainer privileges on the repo you are trying to 
deploy from.