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

Can't clone via vscode due to Authentication failed

Iddo Goren
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!
July 25, 2023

Hi all,


I have installed VSCode on my mac, trying to clone a project.


I have created an access token, with all the permissions turned on.

(Repository Settings->Access Tokens)


When I click Clone in VSCode, it asks for the URL, I enter it.

When it asks for the password, I enter the access token provided by bit bucket.


I always get Authentication failed.


Is there anything more I need to do?



1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2023

Hi Iddo and welcome to the community!

What URL are you using for cloning the repo?

When using a Repository Access Token, you need to use the following URL:

where workspace-id and repository replace with the values of the workspace-id where this repo belongs and the repo slug.

Documentation for reference:

Using a URL like or is not going to work with the Repository Access Token.

Are you able to clone the repo this way?

Kind regards,

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events