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

unable to add account in sourcetree



When I try to add my bitbucket account to Sourcetree via Tools > Options > Authentication > Add.  I fill in my user credentials and I get the following error:

Failed to get user details for user [dominique_denie]. You do not have the permission to access the URL ''. The request returned with status code 'Unauthorized'.

I have tried using both SSH or HTTPS, but to no avail. I am working behind a proxySourctree_error.png

5 answers

Same issue and I am using Chrome instead of IE. Any solution?

have the same issue here

Any solution for this? having the same issue....

Same happening to me here. Any idea ?

0 votes
Ana Retamal Atlassian Team Oct 03, 2018

Hi Dominique, welcome to the Community!

Are you entering your username or your email address? When you get the prompt to enter your credentials you'll need to enter your email address as the username is no longer used to log in into Bitbucket Cloud.

Also, if you're on Windows, make sure Internet Explorer is updated to the latest version as Sourcetree relies on it for the authentication and it can cause problems otherwise.

If you're still having issues after trying that please let us know, so we can continue helping you.

Best regards,


Hi Ana, 

I tried with both my username and my email but both failed. I am currently using IE 11.

Best regards,


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,025 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