I have the repository access in Bitbucket and when I try to clone it with Sourcetree, this message shows up:
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://diegogarcia16@bitbucket.org/Lynx_Process/lynx-rtp-projeto.gitOutput:Erro: remote: You may not have access to this repository or it no longer exists in this workspace. If you think this repository exists and you have access, make sure you are authenticated.fatal: Authentication failed for 'https://bitbucket.org/Lynx_Process/lynx-rtp-projeto.git/'
I allready tried to reinstall Sourcetree, call support, but nothing works
Hi @Diego Mendes Garcia and welcome,
are you able to reach repo from browser? It seems that repo doesn't exist or you have no permission to access it.
Please let us know,
Fabio
Hi @Fabio Racobaldo _Catworkx_ ,
Yes, I can acess the repo from the browser.
Thank you for your attention,
Diego
Hey @Diego Mendes Garcia ,
are you trying to access using your password? Try using App Password (
There's no App Passwords on my Bitbucket website
Hi Diego,
Following up on your last comment: Bitbucket Cloud has replaced App passwords with API tokens, so the earlier App Password instructions are no longer the right path. Atlassian documentation.
Since you can open the repository in your browser, configure Sourcetree with an API token belonging to that same account:
read:user:bitbucket
read:workspace:bitbucket
read:repository:bitbucket
write:repository:bitbucket
These steps are covered in Atlassian’s Sourcetree API-token guide.
If authentication still fails, Sourcetree/Git may be reusing old credentials. Atlassian’s authentication troubleshooting guide explains how to remove the relevant cached Bitbucket credentials and authenticate again.
It looks like you're new here. Sign in or register to get started.