Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Invalid username or password

merv0190 February 21, 2019

fatal: HttpRequestException encountered.
An error occurred while sending the request.

remote: Invalid username or password
fatal: Authentication failed for ''

Pushing to
Completed with errors, see above.

I keep getting this error. After updating my password. The atlassian login popup keep showing after filling the new password.

I have no idea what to do.

1 answer

1 accepted

0 votes
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2019


My first suggestion would be to make sure you are using Git 2.20.1, either but updating to Sourcetree 3.0.17 and updating the embedded Git or by installing Git for Windows and using it as a System Git.

This as the latest version of the Git Credential Manager, GCM, which fixes some problems it had with storing credentials.

I'd then suggest deleting all the 'git:' prefixed entries in the Windows Credential Manager, this means any local bad credentials are removed.

I'd also do an explicit logout/login on the bitbucket website to clear any potential locks due to too many failed login attempts.

Then run a pull/fetch/push etc you should be prompted for credentials, enter the correct ones and it should work and store the credentials so you aren't prompted again.

merv0190 February 22, 2019

Thank you for responding.

I updated source tree to the latest version and I added my account in the account section in settings. Now everything works again.


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events