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 vote

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
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
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

163 views 6 3
Join discussion

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