close

[Solved] remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication

I am trying to push my code But I am facing the following error with bitbucket remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication. We are going to Learn about All Possible Solutions So Lets Get Start with This Article.

What is remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication Error ?

I am trying to push my code But I am facing the following error with bitbucket.

fatal: Invalid credentials remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231 remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/

So here I am writing all possible solutions that I have tried to resolve this error.

How To Solve remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication Error ?

  1. How To Solve remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication Error?

    To Solve remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication Error First Of all Open App Password Page and Create app password. Select Necessary permissions. Now, Copy the Password That You generated. Now, Open Your terminal. For Existing Repo : git remote set-url origin https://<Bitbucket_Username>:<App_Password>@bitbucket.org/<Repo_Name>.git For New Repo Use this Command: git clone https://<Bitbucket_Username>:<App_Password>@bitbucket.org/<Repo_Name>.git Now, Your problem must be solved.

  2. remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication

    To Solve remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication Error Here Atlassian started disabling account passwords for Git authentication on 1 March that why you are facing this error. First Of all Visit bitbucket.org. Login Into Your Bitbucket Account. On Left Hand Side You can See Your Profile and Settings with Avtar Just Click On It. And Click On Personal Setting. Click On Create app password. Add Password Lable and Select Permissions that You wanna Give. Don't Forget To save This Password. Now, Use this password and Your error must be solved.

Solution 1: Create app Password

Here Atlassian started disabling account passwords for Git authentication on 1 March that why you are facing this error.

  1. First Of all Visit bitbucket.org.
  2. Login Into Your Bitbucket Account.
  3. In Left Hand Side You can See Your Profile and Settings with avtar Just Click On It.
  4. And Click On Personal Setting.
  5. Now, There You can See App passwords Under ACCESS MANAGEMENT.
  6. Click On App passwords.
  7. Click On Create app password.
  8. Add Password Lable and Select Permissions that You wanna Give.
  9. Dont Forgot To save This Password.
  10. Now You can Set Remote Origin With This Command.
  11. git remote set-url origin https://YOUR_BITBUCKET_USERNAME:YOUR_APP_PASSWORD@bitbucket.org/YOUR_BITBUCKET_USERNAME/YOUR_REPO_NAME.git
  12. And Use this command For New Clone
  13. git clone https://YOUR_BITBUCKET_USERNAME:YOUR_APP_PASSWORD@bitbucket.org/YOUR_BITBUCKET_USERNAME/YOUR_REPO_NAME.git
  14. Now, Use this password and Your error must be solved.

Solution 2: Long in short

  1. First Of all Open App Password Page and Create app password.
  2. Select Necesary permissions.
  3. Now, Copy Password That You generated.
  4. Now, Open Your terminal.
  5. For Existing Repo :
git remote set-url origin https://<Bitbucket_Username>:<App_Password>@bitbucket.org/<Repo_Name>.git

For New Repo Use this Command.

git clone https://<Bitbucket_Username>:<App_Password>@bitbucket.org/<Repo_Name>.git

Now, Your problem must be solved.

Summary

It’s all About this error. Hope We solved Your error. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

6 thoughts on “[Solved] remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication”

Leave a Comment