Forums

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

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: https://bitbucket.org/xxxxx/xxxxx
  2. 11:53:02 Cloning https://bitbucket.org/xxxxx/xxxxx...
  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
Ben
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:
https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git
Try unticking "Requires authorization" and using the above format for the repo URL and let me know how this goes.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

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

Atlassian Community Events