Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Invalid username or password

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
minnsey Atlassian Team Feb 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.

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
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,091 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you