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!


Your import has failed - Importing Private GitHub Repository

I'm trying to import an existing private GitHub repository into BitBucket but I come up on the following error each time: import_error.png

Upon reviewing the forums here, it seems the correct solution for clearing the error is to ensure GitHub credentials are correct, but when I logged out and back into GitHub, despite using the very same credentials to try and import the repo seconds later on BitBucket, I still get the above error. 

My next thought was perhaps I needed to generate a token on GitHub or something, but I'm presently unable to locate a place on BitBucket to use it, so whether it's this or something else, any help would be appreciated.  Thank you!

1 answer

1 accepted

2 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 25, 2023

Hi Kevin and welcome to the community!

What the import does is clone the repo and GitHub has deprecated the use of account passwords for Git operations over HTTPS (Bitbucket Cloud has done the same), which is why the import fails:

Have a look at the section What you need to do today in this blog post, the article mentions the use of a personal access token instead of the account password.

In the import page in Bitbucket Cloud, right below the URL field, there is a checkbox Requires authorization. Check that checkbox, and you can use your GitHub username in the Username field, and the personal access token in the Password field.

Please feel free to let me know how it goes and if you need further assistance!

Kind regards,

Thank you for your help, Theodora!  I put the token in the password slot on the form and it worked exactly as intended :] 

Like Sabine Mayer likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 25, 2023

That's good to hear, Kevin, and you are very welcome!

Please feel free to reach out if you ever need anything else!

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events