I have tried to switch to API Token authentication from Source Tree to Bit Bucket.
I have set up API token and added all scopes.
In Source Tree -> Tools -> Options -> Authentication, i have added the account and it tells me authentication is OK.
If i try to clone or push changes, I get the error "You may not have access to this repository or it no longer exists in this workspace. If you think this repository exists and you have access, make sure you are authenticated.
fatal: Authentication failed"
I can confirm that the repository exists when I look on Bit Bucket, and Source Tree tells me I am authenticated.
I have been messing around with this for hours.
Any help would be greatly appreciate.