Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cloning a private repo through Bitbucket website

Tamir Dayan
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!
October 14, 2025

Hello,
I am trying to clone a private repository that I have no problem accessing when I'm logged in.
But when I am entering my user name and password in the dialog boxes (in "Import existing code") I get that the authentication failed.
Is there something specific that needs to be done? is there a different password for that process?

 

Thank you

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 15, 2025

Hey @Tamir Dayan 

Welcome to the community.

If I understand correctly, you want to import a repository into your Workspace. Is the repository public? If it is, you won't need to authenticate to import it.

However, if it's private, you'll need to use your credentials, like an API token, just as you would when cloning the repository locally.

Let me know how it goes.

Regards,
Syahrul

Tamir Dayan
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!
October 15, 2025

Hey!
Thank you very much.

So I am trying to start a new repository, copying an existing private one to go into it.
So I am logged in to bitbucket, I press create --> Repository, in the Dialog that opens I press on "Import repository" and I check "Requires authorization".
Here filling the URL of the existing repo, my username and password but it never authorizes it.

Best regards,

Tamir

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2025

Hey @Tamir Dayan 

Thanks for the update.

As mentioned earlier, you need to use your username and API token to authenticate the repository import. Generate an API token and enter your username and API token in the password field to proceed with the import.

Let me know how it goes.

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events