VisualStudio
VisualStudio copied to clipboard
Show friendly error when user doesn't have permission to create a pull request
Versions
- GitHub Extension for Visual Studio version: ...
- Visual Studio version: ...
What happened
Steps to Reproduce
- Connect to a repository for which you don't have write access.
- Change a file , commit, and go to create a pull request.
- See an error message: "Request failed with status code: 403"
Expected behavior
A more friendly error message like: "You don't have permission to create a pull request"
+1
I was chasing ghosts because of this error message. In my case I did not create fork to my git account.
+1
I am experiencing this, despite having a fork setup. I have already tried signing out and clearing credentials, and in any case, I am still able to push to my fork just fine, so it doesn't seem like an authentication problem.
I can also confirm that I am able to create a pull request on the website, no problem.
Are there any logs that might contain more info about the failure?