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

This widget could not be displayed.

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,283 views 8 11
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