Skip to content

The requested URL returned error: 403 Forbidden #39

Closed

Description

@sunnytranco

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

Activity

  1. w00fz commented on May 1, 2017

    @w00fz
    Member

    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.

  2. YuriyKartuzov commented on Aug 21, 2018

    @YuriyKartuzov

    I'm having this issue on public repo, which was private before. This means there are no passwords to be entered

  3. w00fz commented on Aug 28, 2018

    @w00fz
    Member

    You do still a password even if it's public. The authentication is required in order to guarantee you have PUSH permissions.

  4. YuriyKartuzov commented on Aug 28, 2018

    @YuriyKartuzov

    My bad, I got confused there, I was still required to enter credentials (ofcause)

  5. paulhibbitts commented on Mar 5, 2019

    @paulhibbitts
    Collaborator

    Hi @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

  6. paulhibbitts commented on Mar 11, 2019

    @paulhibbitts
    Collaborator

    Did you follow these steps https://www.youtube.com/watch?v=avcGP0FAzB8 (interface slightly different now)? Are you getting any error messages?

  7. paulhibbitts commented on Mar 12, 2019

    @paulhibbitts
    Collaborator

    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.

  8. 53 remaining items

  9. Pushp1992 commented on Oct 10, 2020

    @Pushp1992

    This was the savage reply. It worked well.

  10. w00fz commented on Oct 21, 2020

    @w00fz
    Member

    That error is bad credentials

  11. KaishM commented on Nov 9, 2020

    @KaishM

    following @m-illyas steps solved my issue.

  12. pk0205 commented on Jan 10, 2021

    @pk0205

    while creating personal access token make sure to select scopes.(just selecting repo should be fine)

  13. krishnaanji commented on Feb 1, 2021

    @krishnaanji

    remove existing credentials in 'windows credentials'

  14. caprica-Six commented on Feb 3, 2021

    @caprica-Six

    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:

    • Created Personal Access Token, as per docs.
    • Ticked - gist - Create gists.
    • Login - username, which is user, not email (as mentioned above)
    • Password - this is the Access token - paste

    Now all is working fine. I am able to commit.

    Screenshot 2021-02-03 at 09 45 24

  15. rigov1984 commented on Feb 11, 2021

    @rigov1984

    El error puede ser que la computadora haya guardado un nombre de usuario y contraseña de git, por lo que si cambia a otra cuenta, aparecerá el error 403. A continuación se muestra la solución
    para Windows, puede encontrar las claves aquí:

    panel de control> cuentas de usuario> administrador de credenciales> credenciales de Windows> credenciales genéricas

    A continuación, elimine las claves de Github.

    En Mac
    1-In Finder, busque la aplicación Keychain Access.
    2 En Acceso a llaveros, busque github.com.
    3-Busque la entrada "contraseña de Internet" para github.com.
    4-Edite o elimine la entrada según corresponda.

    efectivamente esta solución me sirvió....muchas graciassss.

  16. FreitDev commented on Mar 31, 2021

    @FreitDev

    Followed the steps from @LuisMauricioFalla and that worked for me.

  17. anarrmammadov commented on Apr 16, 2021

    @anarrmammadov

    fatal: unable to access 'https://github.com/blablabla/Annotations.git/': The requested URL returned error: 403
    So I tried it now and got an error like this. In my opinion, the reason for this error is indirectly because the other party does not allow the project.

  18. Rimpi246 commented on Apr 20, 2021

    @Rimpi246

    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
    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.

    Hello...I did the same but the error still persists. What do I do ?

  19. 0x0Eth commented on May 11, 2021

    @0x0Eth

    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.

    Thank you. This solved my problem

  20. alhamidysattam commented on May 28, 2021

    @alhamidysattam

    help
    :)

  21. MRRaihan commented on Jun 14, 2021

    @MRRaihan

    Thank you. Its working fine. Its really helpful. Great

  22. locked and limited conversation to collaborators on Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions