Cannot clone repo from bitbucket - get invalid username error

orbticoms June 2, 2021

I installed fresh sourcetree onto a new PC

The install process validated the credentials ok and I can see a list of my remote (bitbucket) repose in the remote source list in sourcetree.

When I attempt to clone a repo I get following error in sourcetree.


Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote
Error: remote: Invalid username or password
fatal: Authentication failed for ''



2 answers

1 accepted

0 votes
Answer accepted
Huy Phạm Đức June 3, 2021

As always, it seems like they haven't fixed it

0 votes
orbticoms June 3, 2021

Was certainly frustrating.

Had to manually navigate around the appdata folders and remove all Atlassian related, uninstall the app and remove folder in Program Files. Then changed online password and finally reinstalled and it worked. The last machine I installed on asked me to manually log into bitbucket during install and that worked but this install automatically applied credentials and stated they were ok, but they were not. Wasted a lot of time with this, Wouldn't it be great if the install program actually worked first time on a brand new Windows 10 install.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events