hello. when I want to deploy the vercel from github and then I need to authorization to deploy then suddenly I got the error like as the image in the screenshot. can you help me to solve the problem?. I tried to clear the cache and also use the guest mode but still I can’t deploy my vercel from github. your help is really needed in this case. thank you.
Hi David,
From the screenshot, this looks like the Vercel dashboard is failing during the GitHub authorization flow, not your project build failing. The FUNCTION_INVOCATION_FAILED / 500 on the /git/authorize page means the deploy flow did not get far enough to start building your repo.
I’d try these checks:
1. Log out of both Vercel and GitHub, then log back in
2. In GitHub, check Settings → Applications → Installed GitHub Apps → Vercel
3. Make sure Vercel has access to the repo you are trying to deploy
4. If the repo is inside a GitHub organization, make sure the org owner has approved the Vercel GitHub App
5. Try importing the project again from Vercel → Add New → Project
If the GitHub App is installed but the authorization page still gives the same 500, this is probably not something you can fix by clearing browser cache.
As a temporary workaround, you can deploy from the CLI to confirm the project itself can deploy:
npm i -g vercel@latest
vercel login
vercel deploy
That will not fix the GitHub auto-deploy integration by itself, but it helps separate “GitHub authorization is broken” from “the project cannot deploy.”
If it still fails, the useful details to share are the error code, the request ID from the screenshot, the timestamp, and whether the repo is under your personal GitHub account or a GitHub organization. Don’t post any GitHub tokens or private repo secrets.
Hi there,
This should be resolved now!

