Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Invalid Credentials When trying to Clone Repository

JimWoodworker
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2024

I am having issues with cloning repository onto a new work laptop I am setting up.

 

On the remote tab it sees all the remote repositories available to me on BitBucket.org website for our companies Bit Bucket Workspace as seen in the picture below.

SourceTree Remote Repo Tab.png

However when I right click on MtrCtrl2024 repository and select Clone... I get this error message:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://JimWoodworker@bitbucket.org/kineticupstream/mtrctrl2024.git Output: Error: remote: Invalid credentials fatal: Authentication failed for 'https://bitbucket.org/kineticupstream/mtrctrl2024.git/'

Authentication Invalid pop-up box.png

What's up with this?  I do not get how my authentication credentials are good enough to see the list of all repositories on our companies Bit Bucket Work Spaces (which I am an administrator of), but it throws an Invalid Credentials message when I try to clone the repository on the new laptop.   It has been cloned for some time on the old work laptop.

1 answer

0 votes
Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2024

Hello @JimWoodworker , Welcome to the Atlassian Community!

The use of the Atlassian account password for cloning, and interacting with a local repo over https was deprecated as shown in this Community question.

https://community.atlassian.com/t5/Bitbucket-questions/Authentication-Failed-cant-access-own-bitbucket-repo-due-to-quot/qaq-p/2427770

You can set up an app password and connect over https with that and your Bitbucket username.  https://community.atlassian.com/t5/Bitbucket-questions/Authentication-Failed-cant-access-own-bitbucket-repo-due-to-quot/qaq-p/2427770

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events