Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I am facing some issue at the time of pull & push on the repository

Below is the issue description

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
remote: Invalid username or password
fatal: Authentication failed for ''

This repository exists in another workspace but I was able to access it from the account some days ago. Suddenly I am facing the above issue.

1 answer

0 votes

Hi @Sanket ,

The error indicates that there may be stored credentials in your Git client or credential manager that interfere with authentication to Bitbucket Cloud. It may also mean that the credential manager is not providing the correct credentials for authentication.

Could you please check the following knowledge base article we have on this issue and follow the steps outlined in the Solution section?

If you're using SourceTree, please make sure to also follow the steps in the section Additional Steps if you are using Sourcetree and experiencing this issue.

Please feel free to let us know how it goes and if the issue is resolved for you after this.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,513 views 4 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you