Authentation failure signing into bitbucket repo in VS 2017 Community, with Google account

I converted to a Google account a while ago for my BitBucket repos.  Since then I haven't been able to sync any commits to BitBucket in Visual Studio 2017 Community.

Error encountered while pushing branch to the remote repository: Git failed with a fatal error.
fatal: Authentication failed for '<username>/<reponame>/'

I'm very unfamiliar with git so assume I know nothing about it.  Small words only please.  lol

1 answer

1 accepted

0 votes
Accepted answer

Hi Chris, I'm assuming you're using Bitbucket Cloud. Are you able to log into Bitbucket with your Google account using the web UI?

If you can access Bitbucket but are still getting authentication error in Visual Studio, then most likely the credentials you entered in VS are wrong. I couldn't find specific instructions for VS 2017 Community, but I found the articles Using Git Bitbucket with Visual Studio 2017 and Connecting Visual Studio 2013 with Git Bitbucket that I hope can help you set up the credentials correctly.

Let us know if it works!

Best regards,


Thanks for the response, I did end up figuring it out though.  The login credentials it was looking for were my Atlassian credentials and not my Google or old BitBucket cloud credentials.

User error!

Glad to hear that, Chris!

Have a nice day :)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,909 views 7 10
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