VisualStudio icon indicating copy to clipboard operation
VisualStudio copied to clipboard

Show friendly error when user doesn't have permission to create a pull request

Open meaghanlewis opened this issue 5 years ago • 2 comments

Versions

  • GitHub Extension for Visual Studio version: ...
  • Visual Studio version: ...

What happened

Steps to Reproduce

  1. Connect to a repository for which you don't have write access.
  2. Change a file , commit, and go to create a pull request.
  3. See an error message: "Request failed with status code: 403"

image 11

Expected behavior

A more friendly error message like: "You don't have permission to create a pull request"

meaghanlewis avatar Mar 04 '19 16:03 meaghanlewis

+1

I was chasing ghosts because of this error message. In my case I did not create fork to my git account.

Kalyxt avatar Jun 09 '20 08:06 Kalyxt

+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?

JakenVeina avatar Jan 23 '21 18:01 JakenVeina