Sourcetree authentication failed

I am receiving a fatal error when trying to use sourcetree. It has been functioning fine for months without a problem however, i can no longer push to my bitbucket repository

The error output i receive is as followed:

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
remote: Empty password
fatal: Authentication failed for ''
Pushing to
Completed with errors, see above.


I have tried re authenticating my account using OAuth and basic and i have had no such luck.





1 answer

This widget could not be displayed.

Hi Joe, is this only happening in Sourcetree or also in the command line? Can you try and let us know? 

If this is happening only in Sourcetree you can try removing your credentials and adding your account again, and if that doesn't work, wipe your Sourcetree preferences.

Let us know if you can push now!



Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

878 views 2 3
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