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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,462,801
Community Members
 
Community Events
176
Community Groups

Import Repository not working from same Bitbucket Account

Edited

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: https://atlassian.community/t5/x/x/ba-p/1948231
  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: https://bitbucket.org/account/settings/app-passwords/
  8. 15:27:50 fatal: Authentication failed for 'https://bitbucket.org/checkaninvoice/india.invoiceuploader/src/master/'
  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.

 

Thanks

 

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: https://bitbucket.org/account/settings/ 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,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events