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

Unable to mirror repository

Hardik Fefar
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!
April 18, 2022

I am trying to mirror the BitBucket repository to an external repo source but it says Unauthorized even after entering correct username and password

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 22, 2022

Hi @Hardik Fefar,

Are you using the password of your Bitbucket Cloud account?

We deprecated the use of account passwords for Git over HTTPS and API:

The password of a Bitbucket account can be used when you log in to the website.

For operations like cloning, pulling, pushing and for API calls, you will need to generate an app password and use it instead of a password:

If what you are doing is cloning the repo, then permissions Repository:Read for the app password should be enough. If additional operations are performed, the app password may require additional permissions.

Kind regards,

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 18, 2022

Hi @Hardik Fefar ,

even if you have access to target repo, please veify that you have grants to write and that there are no limitation at branch level.

Hope this helps,


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events