The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
After trying various posted solutions my App Password is still being rejected by Sourcetree when trying to commit/push/pull to/from Bitbucket and I get this famous error:
fatal: Authentication failed for 'https://bitbucket.org...'
I have set up the App Password through the Bitbucket personal settings site and entering the password in the Sourcetree preferences seems to accept the password, because I can exit the window without any error message.
The account is set to Auth Type: Basic and Protocol to HTTPS
I have also removed various SourceTree preference files from
~/Library/Application Support/Sourcetree
and
~/Library/Preferences.
I also deleted all Sourcetree and Bitbucket items from the macOS Keychain.
After removal of these files and restarting Sourcetree I have to add a new account (of course because the files have been deleted) and entering all account data as before. Again, Sourcetree seems to accept the entered App Password.
Then, while trying to push/pull I am asked for the Bitbucket account password. I tried both the account password as well as the App Password but both result in the same fatal error during commit.
I have also tried to set up a SSH key but this also doesn't make a difference.
All solutions provided here:
Unable to commit using App Password in SourceTree
and here:
don't work and are also mostly for Windows users anyway.
Any help is greatly appreciated.
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...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events