I am not able to login to source Tree as it is showing Unauthorized error message .
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.