Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Credentials not recognised

I keep getting the following errors:

remote: Invalid credentials

fatal: Authentication failed for...

So I can 't pull or push or effectively use the product at all.

I run Mojave on Mac and Sourcetree v4.1.9

I've tried every fix on this forum and can't get it to work. 

I've cleared my keychain, deleted then reinstalled Sourcetree, tried changing Atlassian username and password and app password.

Losing the will to live on this, and so much work to get done.

Ideally I'm looking for an admin to jump in on this, connect remotely to my Mac and sort this out. 


Many thanks.


1 answer

0 votes
Ben Atlassian Team Aug 28, 2022

Hey Chris,

Welcome to the Bitbucket Cloud Community! :)

Whilst I cannot remotely connect to your machine, I can provide some assistance with getting this issue resolved.

I would suggest checking this article below:

Ultimately, as a result of the HTTPS auth change which was made to require an AppPassword - the remote URL should look like this (substitute in username/AppPassword/workspaceID/reposlug):

Hope this helps.


- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

79,292 views 135 29
Read article

Atlassian Community Events