Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Vercel - Git author must have access to the project on Vercel to create deployments

Tags:

next.js

vercel

enter image description here

I am developing a project with next.js. The project is kept in a secret repository in the company's github account and my github account is authorized in this repository as colabrator. The project's development domain is also connected to the company's vercel account. We can see the changes we make from here.

However, I have been experiencing a problem for two days. When I add new branches, vercel does not give me access to my github account. As far as I understand, the company needs to switch to a pro account.

Despite this, yesterday we re-authenticated GitHub in to Vercel and the new branch I pushed was deployed without errors. I am trying again today and it does not work. I need to merge the new features of the project but I cannot.

like image 751
Atticus Avatar asked Sep 11 '25 12:09

Atticus


1 Answers

A solution works for me.

  1. Go to you vercel project setting (url likes 'https://vercel.com/your-team/your-project-name/settings/git')
  2. Find 【Deploy Hooks】, if there is no hook, just create one, and the code update would sync to Vercel.

Background that I faced the issue: I deploy a project on Vercel and work well. Today I update my code in git repo and appear the error message. Last time I update code in 60 days ago, and I do nothing change during the days. So I guess maybe Vercel update some project config options or my project configuration somehow changed.

like image 84
Zts0hg Avatar answered Sep 16 '25 10:09

Zts0hg