Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve the requested URL returned error: 403 in git repository

I have multiple accounts in git I committed code three weeks back with this account. I'll unable to pull my code . I was getting The requested URL returned error: 403 I'll try Pushing to Git returning Error Code 403 fatal: HTTP request failed but I couldn't solved my error

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin remote: Forbidden fatal: unable to access  'https://[email protected]/chantidurgam/patanjali.git/': The requested  URL returned error: 403 

Completed with errors, see above.

like image 358
Kondal Avatar asked Sep 27 '18 09:09

Kondal


People also ask

How do I fix the requested URL returned error 403 in git repository?

The first is relatively simple to resolve and simply involves checking to ensure your GitHub password is correct. If the error persists, it is likely that you have to use a different HTTPS address in your Git client. For this error, you will not even be prompted to enter a password, making it simpler to diagnose.

What is the reason of server 403 error when we try to access any URL?

The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it. This status is similar to 401 , but for the 403 Forbidden status code re-authenticating makes no difference.


1 Answers

What needs to be checked before anything else is the access level, which should be set to write. This can happen if you were added to the repo by someone else, and they forgot to grant you the required permissions.

enter image description here

like image 104
Armin Avatar answered Sep 23 '22 02:09

Armin