Authentication Failed Error When Pushing Code Connecting To Bitbucket

Resolution when trying to connect Bitbucket repository using Https, error " Authentication Failed" thrown.

  • For using HTTPS, try to connect with the username and app password.

For creating an App password in Bitbucket navigate to Profile > Personal Settings> App Password.

  • Provide all necessary permissions and generate an App password to connect using username and password as App password.