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

0 votes

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 Oct 23, 2018 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...

1,219 views 4 2
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