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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Import Repository not working from same Bitbucket Account


Importing existing Repository which is already in same bitbucket account, to different Project not working. It is giving same error, even if I have generated "App Password" for Authentication.


  1. 15:27:50 git import for: <repo_url_removed>
  2. 15:27:50 Cloning <repo_url_removed>
  3. 15:27:50 Cloning into bare repository '<workspace-id>/test'...
  4. 15:27:50 remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
  5. 15:27:50 remote: See our community post for more details:
  6. 15:27:50 remote: App passwords are recommended for most use cases and can be created in your Personal settings:
  7. 15:27:50 remote:
  8. 15:27:50 fatal: Authentication failed for ''
  9. 15:27:50 Remote Git clone failed: <class 'bitbucket.apps.asyncx.tasks.ImportException'>: Command failed. Return value: 128



Any Idea?  It was working couple of months ago.




1 answer

0 votes

Hi @Devesh Sharma,

This error shows when the credentials are incorrect.

When you try to import a repository, if you check the field Requires authorization, you will see two fields for Username and Password.

The Username should be the Bitbucket Username of the account that you generated the app password. You can find it listed here after logging in to the account: It should not be your email address, but the username listed on that page.

After you ensure that the username is correct, if you still get the same error, I would suggest generating a new app password for the account (Repositories: Read permissions should be enough for this operation), in case you edited the app password accidentally.

In case you have multiple Bitbucket accounts, please make sure to use the credentials of an account that has access to the repo.

Please feel free to let me know how it goes.

Just a heads up, I removed the repo url from your post to protect your privacy.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events