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 'https://JoeMSubs@bitbucket.org/sgmsubs/plc-motor-controller.git/'
Pushing to https://JoeMSubs@bitbucket.org/sgmsubs/plc-motor-controller.git
Completed with errors, see above.

 

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

 

Thanks,

 

Joe

1 answer

0 vote

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!

Regards,

Ana

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 ...

649 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