Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

remote: Invalid username or password

Unable to login with Bitbucket using Sourcetree for the following error messages:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: HttpRequestException encountered.
An error occurred while sending the request.

remote: Invalid username or password
fatal: Authentication failed for ''

I followed the instructions to reset password in Bitbucket, login to Bitbucket and validate the in SourceTree Tools >> Options >> Authentication delete creds then re-add as Hosting Service Bitbucket, Hose URL, Preferred Protocol HTTPS, Authentication Basic, Username CBL_deborah_morrison clicked Refresh Password and entered successfully then the Authentication OK message appears bottom left.  But when try to PULL repository, get the error messages above.

1 answer

1 accepted

The info was useful but did not resolve credential issue.  It was necessary to uninstall and remove all registry entry references of SourceTree/Atlassian.  Then installed fresh, re-cloned and now credentials stored correctly.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,021 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you