Authentication failed in SourceTree while connecting to Bitbucket


I am having a trouble logging into Bitbucket server from SourceTree. I get Authentication Failed error but I have cross checked the user name and password and all seems to be correct. Also, when i login to Bitbucket in the browser using the same credentials it works. I have tried uninstalling and installing the SourceTree and in different system as well but no luck so far. Also, I have changed HTTPS and SSH but both doesnt seem to work. Please see below error. Any help highly appreciated.SourceTree_Error.png 




1 answer

0 vote


I think it is todo with the URL you are using. I woudl expect to enter something like  https://mybitbucketserver/ as SourceTree will then append the REST api relative URLs to that.

Hello Michael,

Thanks for your response.

I have been using the same URL since beginning and it was working before and nothing has been changed lately. And we are using like https://mybitbucketserver/ as mentioned by you. Please let me know if you need any info.



Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,013 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you