Skip to content
Back

Can't connect GitHub — 500 error at the VCS callback

  • 0
  • 2
  • Sites
  • Cloud
25 Aug, 2026, 06:07

Appwrite Cloud, Pro plan, SFO region.

All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a Git installation from Project Settings, I get:

Error 500, general_unknown, at /v1/vcs/github/callback

The odd part: it fails in 14 milliseconds, and returns HTML instead of JSON. That's too fast to have contacted GitHub at all — an OAuth code exchange takes far longer. So it looks like it's crashing during a lookup or a database write, before any external call.

Timeline: it was working this morning and deployed a commit successfully at 2:10pm. A push at 3:44pm refreshed the OAuth token but produced no deployment, and the connections were gone shortly after.

What I've already tried:

Uninstalled the GitHub App and revoked the OAuth authorization, then reinstalled clean — same 500 Tested with an email/password session instead of GitHub login — same 500 Verified the app's permissions and repo access on GitHub — all correct Project Settings → Git configuration is empty, so nothing to conflict with

One thing that might matter: this project was created new in SFO after I deleted an older project in another region. I'm wondering whether a stale VCS installation record was left behind — I noticed you've shipped a fix called "clear stale install data before starting new installation," which sounds like the same class of problem.

Happy to provide ray IDs and the full request details privately if that helps.

Any ideas?

TL;DR
User is unable to connect GitHub due to a 500 error at the VCS callback, causing all Git connections to vanish on Appwrite Cloud Pro plan in SFO region. Tried reinstalling GitHub app, testing with email/password, and verifying permissions on GitHub to no avail. Suspects a possible issue with a stale VCS installation record from a previous project. Requested for help with possible solutions.
25 Aug, 2026, 06:10

can you share your project id? dms work too

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more