Error: remote: Invalid username or password fatal: Authentication failed for 'https://bitbucket.org

Данила
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2021

When I tried to connect SourceTree to bitbucket, a login and password entry window was displayed, I accidentally entered the wrong password and clicked the "Remember data" checkbox, after that, when I try to clone the bitbucket repository, I get the following error

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2021

Hi @Данила

Welcome to the community.

To refresh your SourceTree credential, you can follow the below steps:

  1. Firstly reset your password using this link - https://id.atlassian.com/login/resetpassword
  2. Ensure you are able to login to Bitbucket Cloud - https://bitbucket.org
  3. Clear stored credentials on your machine

    Windows: Navigate to Credential Manager and clear stored credentials related to Bitbucket Cloud.
    Mac OS X: Navigate to Keychain Access and clear stored credentials related to Bitbucket Cloud

  4. In your SourceTree app, on the tool bar click "Tools" >> click "Options"
    • On the "Options" window click "Authentication" tab
    • Identify stored credentials to Bitbucket Cloud and remove them.
  5. Once this is done, try to login to perform a git operation authenticating to Bitbucket Cloud once again.

Hope it helps and let me know how it goes.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events