You’ll need to regenerate your token: Git Gateway | Netlify Docs
RECONNECT AFTER CHANGING REPOSITORY PERMISSIONS
If you change ownership on your repository, or convert a repository from public to private, you may need to reconnect Git Gateway with proper permissions:
- Go to Settings > Build & deploy > Continuous Deployment > Build settings to re-link the repository.
- Go to Settings > Identity > Services > Git Gateway to add a new API access token following the instructions in the section above.