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
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
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,747 views 1 5
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