Home > OS >  How to solve Invalid credentials problem in bitbucket?
How to solve Invalid credentials problem in bitbucket?

Time:03-09

My bitbucket password is correct because I can easily login with this password. When I try to push a project or file to bitbucket it shows Invalid credentials error.

$ git push -u origin master
fatal: Invalid credentials
Password for 'https://[email protected]':
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/
fatal: Authentication failed for 'https://bitbucket.org/mailzahidul/demo.git/'

How can i solve this issue ?

CodePudding user response:

When prompted to login, use your username but instead of your usual account password, use the app password

to get app password

  1. Go to bitbucket.org website and login
  2. From your avatar in the bottom left, click Personal settings
  3. Click App passwords under Access management
  4. Click Create app password
  5. Give the app password sufficient rights, and a label related to the application that will use the password
  6. Don't forget to save that password

CodePudding user response:

Go to credential Manager -> Windown Credential -> Add a generic credential fill up the fields Network address: git:https://bitbucket.org Username: App Password: Solver from Here

CodePudding user response:

open bitbucket.org website and login, After Create App passwords under Access management.bitbucket will give you a new password. Now you will do your commits with this new long password.

  • Related