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

Filed authentication

Hi Team,


I am using sourcetree 3.4.2 for cloning our codebase from github. I am unable to fetch latest code from git repo. below is the screenshot for ref. I treid using both basic /auth option but still getting same error.




2 answers

FWIW...we solved our issue.

However, our issue was specific to cloning a BitBucket repo - not a GitHub repo. So, our resolution likely will not apply to the OP's situation.

(If anyone cares...the issue is that BitBucket Cloud allows users to create usernames with an "_" in them. But, the path/URL - formatted like" - will fail out if the username has said "_" in it. Atlassian really should prevent users from creating usernames with characters that cannot validate through the Sourcetree URL.)

We are seeing the exact same error message for one of our users. Any help would be great.

The user has admin rights in BitBucket cloud. The user can login and see the repo just fine using the web browser.

But, SourceTree will not connect. We've done basic/auth, we've done an app password, we've tried re-cloning the repo, we've tried deleting the local repo and re-pulling everything.

Nothing is working. Would love to see an answer here, Atlassian. Thank you.

Suggest an answer

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,350 views 127 27
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