This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The requested URL returned error: 403 Forbidden #39
Comments
Make sure the password is actually correct, I know it sounds like a stupid advice but I did have this issue myself before 😃. Also, if you are using 2FA with GitHub, you cannot use the actual password from remote, you need to create an Access Token and use that instead of your password. |
I'm having this issue on public repo, which was private before. This means there are no passwords to be entered |
You do still a password even if it's public. The authentication is required in order to guarantee you have PUSH permissions. |
My bad, I got confused there, I was still required to enter credentials (ofcause) |
how can I create an access token |
Hi @Amina-Zafar , it depends on the Git-based service you are using. For example, with GitHub you could create a token at |
Thanks
…On Tue, Mar 5, 2019 at 11:57 PM Paul Hibbitts ***@***.***> wrote:
Hi @Amina-Zafar <https://github.com/Amina-Zafar> , it depends on the
Git-based service you are using. For example, with GitHub you could create
a token at https://github.com/settings/tokens
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ArlAI_G1QF-4nuYlHBw0wJ8_c-MH0CShks5vTr4PgaJpZM4NCC1J>
.
|
unable to push my code into my current account, getting access denied 403 error. I have tried many options making new repos, by changing drive, even created repo on Bitbucket but still, my repo is associated with my colleague GitHub account. Please guide me how can I resolve this issue? |
Did you follow these steps https://www.youtube.com/watch?v=avcGP0FAzB8 (interface slightly different now)? Are you getting any error messages? |
Thanks a lot, i will check it
…On Mon, Mar 11, 2019 at 9:34 PM Paul Hibbitts ***@***.***> wrote:
Did you follow these steps https://www.youtube.com/watch?v=avcGP0FAzB8
(interface slightly different now)? Are you getting any error messages?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ArlAIwZZr594cV6jXTIbJgPJBhis9SV_ks5vVoWAgaJpZM4NCC1J>
.
|
I have viewed this video but this is not my problem solution. Actually, my repo is public and my colleague repo is also public. The problem is, I am unable to push my code into my account repo this is the main problem that I am facing. Please help me. |
Moreover, when I push my code into GitHub then give the error, 'access denied from my colleague account', which is no more login on my laptop. |
This sounds less like a GitSync Plugin issue and more of a Git/GitHub issue... sorry but I don't think I can be of any help with that. |
It's okay
…On Tue, Mar 12, 2019 at 8:46 PM Paul Hibbitts ***@***.***> wrote:
This sounds less like a GitSync Plugin issue and more of a Git/GitHub
issue... sorry but I don't think I can be of any help with that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ArlAI4w5jeXnQaDGmSMR3XD_ThW8EZitks5vV8vTgaJpZM4NCC1J>
.
|
fatal: unable to access 'https://github.com/habibakij/Testing.git/': The requested URL returned error: 403 |
Did you manage to fix this error, Facing the same thing |
Have the same issue with my repo. Who managed this or anyone who can help? |
That error means you are using wrong credential or wrong repo:
403 means GitHub is not granting you access so one or more of the 3 things above are the problem |
Can anyone please help me ASAP, with below-mentioned error on cmd terminal of vscode while the last step(git push -u origin master) to push my project. D:\ReactJS Projects\resort>git push -u origin master D:\ReactJS Projects\resort> |
403 means credentials errors or that you don’t have permission to push. |
same error |
The error may be, the computer has saved a git username and password so if you shift to another account the error 403 will appear. Below is the solution control panel > user accounts > credential manager > Windows credentials > Generic credentials Next, remove the Github keys. In mac |
$ git push origin master |
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/orangefruity/test.git/info/refs |
Hi People, ILLYAS-DEULECT has already given us the answer. I was facing the same problem mentioned by rajunerugatti123, w00fz, Amina-Zafar . I followed the steps below and was able to resolve the issue The error may be, the computer has saved a git username and password so if you shift to another account the error 403 will appear. Below is the solution control panel > user accounts > credential manager > Windows credentials > Generic credentials Next, remove the Github keys. In mac |
I had the same issue and the solution provided by ILLYAS-DEULECT worked. Thank you ILLYAS-DEULECT |
Actually, the exact way is git remote set-url origin +your repository URL, I resolved this issue by this way, also thanks |
how to resolve this issue in linux |
For macOS try this for https problem: Then try pull, push and it should ask for username and password. |
For Mac If you have the below setting And your credentials are correct in the "Keychain Access" app. Deleting all the Github internet passwords. Now when you try to push, Git will try to authenticate you again by asking for username/password, or take you to Github auth page. |
For those whose problem is not solved in this way... |
what about on Linux... every solution i see is mac or windows what about linux |
Working again. Thank you. |
The error may be, the computer has saved a git username and password so if you shift to another account the error 403 will appear. Below is the solution control panel > user accounts > credential manager > Windows credentials > Generic credentials Next, remove the Github keys. Thank you m-illyas this worked |
I cloned a repo, did some edits, and tried to push to my own repo. This gave me the error
So I checked
Checked now that
|
Such a solid solution although it didn't work completely for my case I have been trying to push my data to a different account SO in order to solve that. I had to add two more steps on this solution and it worked just fine.
and that got it to work for me... am not sure why it didn't work without changing the name and email though. |
Please correct the path for windows:
Correct:
Thank you. Its working fine. Its really helpful. Great |
May be, you clone someone else's repo and now you are trying to push that repo into your own account. You will not be able to do that. |
In trying to push origin master... Please how can I solve this problem |
|
This was the savage reply. It worked well. |
help me fix this err: |
That error is bad credentials |
following @m-illyas steps solved my issue. |
while creating personal access token make sure to select scopes.(just selecting repo should be fine) |
remove existing credentials in 'windows credentials' |
I was getting the same "403 error. Permission to write to gist denied", when trying to clone a gist repo with https. Repo format is: https://github.com//.git Here's how I fixed it:
Now all is working fine. I am able to commit. |
efectivamente esta solución me sirvió....muchas graciassss. |
Followed the steps from @LuisMauricioFalla and that worked for me. |
fatal: unable to access 'https://github.com/blablabla/Annotations.git/': The requested URL returned error: 403 |
Hello...I did the same but the error still persists. What do I do ? |
Thank you. This solved my problem |
help |
Thank you. Its working fine. Its really helpful. Great |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
When I finish step 3 of the wizard, this error shows up:
error: The requested URL returned error: 403 Forbidden while accessing https://sunnytranco:{password}@github.com/sunnytranco/gravLearn2.git/info/refs fatal: HTTP request failed
I've already tested my connection, it's fine
The text was updated successfully, but these errors were encountered: