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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

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

571 views 1 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