Hi @Jaspreet Kaur and welcome to the community.
Are you trying to import a repo to Bitbucket Cloud (https://bitbucket.org/) or to a Bitbucket Server (self-hosted) instance?
The message indicates that authentication does not succeed with the username + password you have provided.
The first thing I would suggest checking is whether you can log in with this username and password to the website of the hosting provider where the repo is hosted now. I would also suggest that you try cloning the repo from your computer/laptop with these credentials and see if this succeeds. This is to double check whether the credentials are correct and if they work when cloning to your local machine.
One possibility that I can think of is that if you have 2FA enabled in the account of the hosting provider where the repo is hosted now, you may need to use something like an app password or access token, instead of the account's password. Can you check whether there is an option to generate something like this, and try using that instead of a password when you import the repo?
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events