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

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

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...

5,738 views 4 12
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