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

Import of repository failed

Ramya Yarru November 7, 2022

Hello Team,

I'm trying to import a repository from different workspace of my own user account and since this is a private repository I did check on "Requires authorization" but receiving the below error:

  1. 11:53:02 git import for:
  2. 11:53:02 Cloning
  3. 11:53:04 Remote Git clone failed: <class 'bitbucket.apps.asyncx.tasks.RepoImportTask.ImportException'>: Command failed. Return value: 128

Please suggest on where I'm going wrong.

1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 8, 2022

Hey Ramya,

I have censored your repository path as this is a public forum.

Given that we have moved away from basic username/password authentication over HTTPS connections, I would suggest making use of an AppPassword and including this within the URL when performing the import.

We have documentation for usage of app passwords at the following link:
Once you have created an AppPassword, you can then include it in the clone URL as follows:
Try unticking "Requires authorization" and using the above format for the repo URL and let me know how this goes.


- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events