Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events