Unable to connect to the bitbucket repo from source tree. Fail to reload remote repositories

Suprith S I'm New Here Jan 18, 2018

I am using Mac High Sierra OS. I installed source tree and tried logging in by different means. I am unable to load the remote repositories on my bitbucket and also I am not able to clone them. I tried oath and ssh, and https and basic also. None of them works. I also have a windows system and it works there. On mac its a failure.


The errors are below:

An error occurred while trying to refresh the remote repository of your account.

Could not re-authorize request with the available token . please reauthenticate.


Please tell a fix for this. 



1 answer


It looks like there is a problem saving password/token to keychain on you macOS. Please remove any accounts added in Sourcetree, delete all keychain items you find in Keychain that is added bySourcetree and restart you mac. Add the accounts back in Sourcetree and verify the new items added in Keychain and this should get your issues sorted out.


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

784 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you