Hello,
I didn't realize that the button 'accept answer' marks the question as Solved here, so here we go again.
I can't use Sourcetree to connect to Bitbucket for a month now, even though I used it for two years without a problem.
When I click 'Refresh OAuth Token' I get a 'Confirm Access' page on my browser, then an 'Authentication successful' page. Then, I get the following error in Sourcetree

I have tried the following:
- Deleting all Sourcetree passwords from Windows Credential Manager
- Revoking OAuth authentication from my BitBucket account
- Reinstall Sourcetree
- Different browser
- Connecting with Basic authentication using a different account I have. Even though the password was correct, I still couldn't connect.
- Closed live protection from my antivirus (Malwarebytes Antimalware)
Any help provided would be greatly appreciated!