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

SourceTree BitBucket not authorized error

I recently changed my windows password and pushing the changes from sourcetree to bitbucket throws unauthorized was working before. It prompts for user I'd and password and displays the error. I am able to login on the bitbucket with the same user I'd and password. Any feedback would be much appreciated.

2 answers

I am facing this issue as well, every time I change my password. I have already posted it another JIRA ticket.  

The error I see in the logs Credentials not found for sourcetree rest

The error I see on the screen: Failed to check login for user-XXX: You do not have permissions to access the URL: Please check the user credentials associated with this account. The request returned with status code Unauthorized.

Note those XXX are substitute for my ID and Host Name.
I have access to the URL I can login to bitbucket from the browser from various different machines. Also the same API it complains Unauthorized, I can get a nice results in the browser on the same machine. Its the Sourcetree/bitbucket integration issue, it is extremely annoying.

Source Tree Version for Windows 3.1.3.
Atlassian Bitbucket v5.15.1

0 votes
Ana Retamal Atlassian Team Jun 21, 2017

Hi Faizal, to help us better understand your issue, can you provide the following:

  • Which password exactly did you change?  
  • Can you send as a screenshot of the error you get?
  • If you try pushing the changes via the command line, do you get any error?
  • Lastly, which version of SourceTree and Windows are you using?



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