Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I am not able to login to source Tree as it is showing Unauthorized error message .

SAVITHA M
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2023

I am not able to login to source Tree as it is showing Unauthorized error message .

1 answer

0 votes
Martin Runge
Community Champion
August 4, 2026

Hi @SAVITHA M,

Welcome to the Atlassian community!

This thread is a bit old, so hopefully you’ve already solved the problem. If not, or if someone else finds this later, here’s what I suggest checking.

If you see an Unauthorized message, it usually means Sourcetree is using credentials that Bitbucket Cloud no longer accepts. Regular account passwords stopped working for Git operations some time ago, so you’ll need to use an app password instead. You can create one by going to Bitbucket, then Personal settings, then App passwords. Make sure to give it at least Repository read and write access.

Next, remove your stored account in Sourcetree by going to Preferences and then Accounts. Add the account again, and when asked, paste in your new app password. If you use OAuth instead, re-authenticating from the Accounts page usually fixes the error as well.

Cheers, Martin

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events