If you are getting bitbucket error like:
git failed with a fatal error. authentication failed for 'https //bitbucket
One of the most probable reason would be, your password is locked.

Solution for bitbucket auth error

  • Step #1: Go to https://bitbucket.org
  • Step #2: Login with your credentials
  • Step #3: Solve the captcha if asked
  • Step #4: Change the password after login (optional, but┬árecommended)
  • Step #5: Now, try again from your Git client (use the new password if you had changed it)
Once after completion of these steps, you should be able to continue using bitbucket