Bitbucket clone problems by SourceTree
Asked by VS:

Hi

Auth in SourceTreee works ok

But when i start clone repository its told me that Invalid login or pass why?

![e08cPvw](https://community.atlassian.com/t5/image/serverpage/image-id/179251iEEE1338C9FBF1525/image-size/large?v=v2&px=999 "e08cPvw")

![nzpbmcB](https://community.atlassian.com/t5/image/serverpage/image-id/179250i5675C09E0D45C20D/image-size/large?v=v2&px=999 "nzpbmcB")


Answers:
author: Pramodh M
body: Hi [@VS](/t5/user/viewprofilepage/user-id/4722902)

Can you try downloading the free version of Sourcetree and then connecting it and cloning it into your desktop?

To remove the Password stored, Navigate to Control Panel and go to Windows Credentials

![WC1.png](https://community.atlassian.com/t5/image/serverpage/image-id/179260iA8F923B71EB470F9/image-size/large?v=v2&px=999 "WC1.png")

And remove bitbucket stored password

![BB21.png](https://community.atlassian.com/t5/image/serverpage/image-id/179261i3EAB72A22D075273/image-size/large?v=v2&px=999 "BB21.png")

Windows

<https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.4.7.exe>

Mac

<https://product-downloads.atlassian.com/software/sourcetree/ga/Sourcetree_4.1.5_241.zip>

Thanks,  
Pramodh

comments: author: VS
body: I made:

1.Reinstall Sourcetree 3.4.7

2. Delete anything from Windows credetials for bitbucket and sourcetree

3. Run SourceTree and add account with oauth login(successfull)

4. See all my repositories private in SourceTreeen

5. When click clone get error

???????: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://{login}@bitbucket.org/u{login}/service_videoconverter.git  
?????:  
??????: remote: Invalid username or password  
fatal: Authentication failed for '<https://bitbucket.org/{login}/service_videoconverter.git/>'

I think SourceTree somewhere store wrong password and try to login with wrong password(


author: Pramodh M
body: [@VS](/t5/user/viewprofilepage/user-id/4722902)

Are you able to see the repository which you want to clone in Chrome (bitbucket.org)?


author: VS
body: From another PC all work!

From my own - no!

Yes i see it chrome

![A5MdmHIEVo](https://community.atlassian.com/t5/image/serverpage/image-id/179267iBBA9FAA59FED27DF/image-size/large?v=v2&px=999 "A5MdmHIEVo")

I see it in sourceTree

![tW0TYmS3c6](https://community.atlassian.com/t5/image/serverpage/image-id/179268i59E2E24CB492B0F5/image-size/large?v=v2&px=999 "tW0TYmS3c6")

But when i try to clone - there is error

![X1eMOHLVOo](https://community.atlassian.com/t5/image/serverpage/image-id/179269i541DFCA4832C036E/image-size/large?v=v2&px=999 "X1eMOHLVOo")


author: VS
body: I clean up account!

Add new Account.

Make clone - and again wrong password

As i understand it store someware my password old(wrong)

I delete SourceTree install again - problem still same

I try to install on another PC - its ask AGAIN password - and connect ok!

Where its store password data to cleanup?


author: Pramodh M
body: Hi [@VS](/t5/user/viewprofilepage/user-id/4722902)

Welcome to the Community!!

Can you try re-authenticating to the account and cloning it?

Make sure you are using correct access to the repository (SSH or HTTPS) or have correct API token Scope

Thanks,  
Pramodh

comments: author: VS
body: For example when i try to get repository in Sublime Merge i got such error

![rc31Pv7](https://community.atlassian.com/t5/image/serverpage/image-id/179259i9CAA0745133A325D/image-size/large?v=v2&px=999 "rc31Pv7")


Tags: bitbucket-cloud

cloud