Sublime Forum

Error "fatal: Authentication failed"

#1

I am trying to connect to my Bitbucket git for the first time. I get the following error message:

2025-03-27 09:23:21.035 sublime_merge[17628:10653852] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-27 09:23:21.035 sublime_merge[17628:10653852] +[IMKInputSession subclass]: chose IMKInputSession_Modern
remote: Invalid credentials
fatal: Authentication failed for 'https://patrickholzer@bitbucket.org/patrickholzer/shopify.git/'

I have entered the correct username and password credentials.
I have a two-step-authentication with Bitbucket, but Sublime Merge never asked me for the second step (the six digit number that keeps changing).

Can you help me connect? Thank you in advance.

0 Likes

#2

Bitbucket has discontinued password authentication since 2022: https://community.atlassian.com/forums/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231

1 Like

#3

Thank you for your reply!

Do you know how, in that case, I will get Sublime Merge to work? Because it keeps asking for the Password and I don’t find anything in the user’s manual.

0 Likes

#4

I’d assume you have to change your repo remote URL to (or clone it again using with) smth like git@bitbucket.org:patrickholzer/shopify.git and save your public SSH key in your user settings on bitbucket.

0 Likes

#5

See bitbucket’s documentation: https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/#Personal-SSH-keys

0 Likes