bitbucket, cannot pull an update, resulting an 403 error

11,331

Solution 1

Try cloning with SSH, rather than HTTPS. With HTTPS, you'll need to login and also use your 2FA. With SSH, you can bypass this check when you pull, but leave 2FA turned on for logins via browser. There is a guide to setting up SSH here https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

Solution 2

You can use an app password, which is a scoped alternate password meant for use in configuration scripts but which cannot be used to log onto the UI. https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html

Share:
11,331

Related videos on Youtube

Sergej
Author by

Sergej

Updated on October 28, 2022

Comments

  • Sergej
    Sergej over 1 year

    hellp, I use command: git pull and get the following error:

    [remote: To make a call, you need to use an app password.
    fatal: unable to access 'https://[email protected]/blablabla/blabalblabla.git/': The requested URL returned error: 403
    

    I have 4 people in a team.

    • Cristian C.
      Cristian C. about 5 years
      403 is a forbidden error, so you're potentially not logged in.
    • Jessica Rodriguez
      Jessica Rodriguez about 5 years
      In what particular branch are you pulling your code? Do you have any access to that repo?