[Solved] Bitbucket App Password & Fix Fatal Invalid Credentials & Authentication Failed Errors Git

January 21, 2022

[Solved] Bitbucket App Password & Fix Fatal Invalid Credentials & Authentication Failed Errors Git

Because it enabled two-step verification in the Atlassian account. That Authenticate is required with an App password, which causes the error below.

Bitbucket App Password & Fix Fatal Invalid Credentials & Authentication Failed Errors Git

How to solve this error.

Create a Bitbucket App Password: https://bitbucket.org/account/admin/app-passwords

When created, copy the App password to update in the git remote set-url locally. (The git command example is below)

git remote set-url origin https://USERNAME:APP_PASSWORD@bitbucket.org/OWNER/REPO.git