The requested URL returned error: 403 Forbidden #202
-
When I finish step 3 of the wizard, this error shows up:
I've already tested my connection, it's fine |
Beta Was this translation helpful? Give feedback.
Replies: 110 comments 35 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
You do still a password even if it's public. The authentication is required in order to guarantee you have PUSH permissions. |
Beta Was this translation helpful? Give feedback.
-
how can I create an access token |
Beta Was this translation helpful? Give feedback.
-
Hi @Amina-Zafar , it depends on the Git-based service you are using. For example, with GitHub you could create a token at |
Beta Was this translation helpful? Give feedback.
-
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>
.
|
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
Did you follow these steps https://www.youtube.com/watch?v=avcGP0FAzB8 (interface slightly different now)? Are you getting any error messages? |
Beta Was this translation helpful? Give feedback.
-
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>
.
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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>
.
|
Beta Was this translation helpful? Give feedback.
-
fatal: unable to access 'https://github.com/habibakij/Testing.git/': The requested URL returned error: 403 |
Beta Was this translation helpful? Give feedback.
-
Did you manage to fix this error, Facing the same thing |
Beta Was this translation helpful? Give feedback.
-
Have the same issue with my repo. Who managed this or anyone who can help? |
Beta Was this translation helpful? Give feedback.
-
I had this error while working on Linux environment, I was able to fix it by creating personal access token in GitHub with most of the permissions changed to read and write. Made sure to regenerate the token if you edit the permissions. |
Beta Was this translation helpful? Give feedback.
-
im getting this can some one help me |
Beta Was this translation helpful? Give feedback.
-
Sooooo many years, but GitHub team still can't solve this issue... unbelievable |
Beta Was this translation helpful? Give feedback.
-
I get the same issue... Guys make sure that u r using GitHub Personal Access Token. The next mistake is that while creating a Token some people a forgetting to checkmark options below for repo. Do it guys! Then just write ur username in GitHub and for password field past the personal token like I show below. $ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
hope that helped mate :) Some additional cources that can be helpful |
Beta Was this translation helpful? Give feedback.
-
Thanks u man!!!! . U can't imagine how much I respect it!!!!!. You're
always welcome!
U can reach me for any question!!!
…On Mon, Jan 23, 2023 at 3:45 AM Andrea Michelle ***@***.***> wrote:
Thank you! I spent the majority of the day reading "solutions" that
weren't the problem! You saved my evening.
—
Reply to this email directly, view it on GitHub
<#202 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3YX4CT3ZZBSE77PT6BMV7TWTXBCTANCNFSM5BLWUY6Q>
.
You are receiving this because you commented.Message ID:
<trilbymedia/grav-plugin-git-sync/repo-discussions/202/comments/4751964@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Awesome!
…On Fri, Jan 27, 2023, 05:17 Samuel Lukudu ***@***.***> wrote:
Yeah, this works. Thanks
—
Reply to this email directly, view it on GitHub
<#202 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3YX4CQ4M454NHL5FP4OQ7TWUMOZTANCNFSM5BLWUY6Q>
.
You are receiving this because you commented.Message ID:
<trilbymedia/grav-plugin-git-sync/repo-discussions/202/comments/4792741@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I think the problem is somewhere in the options that are to be checked while generating token. WORKED LIKE MAGIC 🍻🍻 |
Beta Was this translation helpful? Give feedback.
-
After entering 'git push origin master' this message appears after using a beta token key when prompted for a password: gaylacloud@Gaylas-MBP Portfolio % git push origin master I also used Homebrew code: brew tap microsoft/git which then proceeded to ask for a password. I entered the beta token key then used github actual password, still no good Could someone assist? |
Beta Was this translation helpful? Give feedback.
-
I think the problem is somewhere in the options to be checked while generating tokens. |
Beta Was this translation helpful? Give feedback.
-
I was facing the same problem. Basically another user was logged in on GitHub. All you need to go and remove it from the Generic credentials. To do so: control panel > user accounts > credential manager > Windows credentials > Generic credentials Next, remove the GitHub account. |
Beta Was this translation helpful? Give feedback.
-
Goto Control Panel->User Accounts->Credential Manager->Generic Credentials->click on github.com->remove username & Password. |
Beta Was this translation helpful? Give feedback.
-
Helpful! |
Beta Was this translation helpful? Give feedback.
-
Even though, nothing worked for me... What should I do? |
Beta Was this translation helpful? Give feedback.
-
I just got the same problem and just figured out what's cause. Github seems only supports ssh way to read&write the repo, although https way also displayed 'Read&Write'. So you need to change your repo config on your PC to ssh way: Edit .git/config file under your repo directory. |
Beta Was this translation helpful? Give feedback.
-
Even though I have used the correct personal access token ( fine grained access- token), I ran into the same issue . While creating the fine grained access- token, I tried to give the right commit access scope but I was still getting the same issue. Also, set your remote url in the following way so that you do not need to enter your username ( not email) every time. |
Beta Was this translation helpful? Give feedback.
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
For Windows you can find the keys here:
control panel > user accounts > credential manager > Windows credentials > Generic credentials
Next, remove the Github keys.
In mac
1-In Finder, search for the Keychain Access app.
2In Keychain Access, search for github.com.
3-Find the "internet password" entry for github.com.
4-Edit or delete the entry accordingly.