remote: CHANGE-3222 - Functionality has been deprecated remote: App passwords are deprecated and must be replaced with API tokens. remote: https://developer.atlassian.com/cloud/bitbucket/changelog#CHANGE-3222 fatal: unable to access 'https://bitbucket.org/safehands-fintech/safehands_backend.git/': The requested URL returned error: 410
This error occurs because Bitbucket has deprecated App Passwords and now requires API tokens for Git authentication. As a result, Git operations that previously used an App Password may now fail with a 410 Gone error. To fix this, create a new API token in your Bitbucket account settings, update your saved Git credentials by replacing the old App Password with the new API token, and then authenticate using your Bitbucket username and the API token. Once your credentials have been updated, you should be able to access the repository normally.
I have this problem "sometimes". Sourcetree (Mac) starts getting the error... and sometime later it stats to work again. It happend to me several times this week.
I had passwords inserted in the origin URL... thats not ideal.. putting the api token seems to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Im facing a similar issue, where once a week, for no aparent reason, I start getting the error again. So I have to delete the API Token and create a brand new one. Then It starts working again. Until next week...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Funny thing is, When I go to revoke acces to the previous API Token it says it's never been accessed... But they do work for a while. I don't get it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
!! For MAC SourceTree users :
Reboot your mac after doing changes presented here Add an API token to Sourcetree or another application
Restart of SourceTree on MAC didn't solve the issue a full reboot did.
On windows SourceTree application just a restart of the app solved issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Superadmin ,
What seems to be an issue here?
To continue performing Git operations, you need to create a token specifically for your Atlassian account:
Go to your Atlassian account settings (select your profile icon > Account settings).
Select the Security tab on the top navigation bar.
Click Create and manage API tokens > Create API token with scopes.
Select Bitbucket as the app and choose the required scopes. For standard Git operations (clone, push, pull), you must select:
read:repository:bitbucket
write:repository:bitbucket
Copy the generated token immediately, as it will not be shown again
And once you have the token, you'd need to update your local Git config or credential manager. 👀
As stated here, app passwords are undergoing a series of controlled brownouts starting on Jun 9, 2026 and will be permanently removed on Jul 28, 2026.
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When I go to the Account Settings, the only section I see is the Linked accounts. There's no navigation bar or anything. How do I create an API token?
Best,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Lluc Sanfeliu Bosch can you try to navigate here: https://id.atlassian.com/manage-profile/security/api-tokens?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In some case read:workspace:bitbucket will be also required.
(as per use of token replacing username and password)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
!! For MAC SourceTree users :
Reboot your mac after doing changes presented here Add an API token to Sourcetree or another application
Restart of SourceTree on MAC didn't solve the issue a full reboot did.
On windows SourceTree application just a restart of the app solved issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.