christianspecht / scm-backup

Makes offline backups of your cloud hosted source code repositories
https://scm-backup.org/
GNU General Public License v3.0
58 stars 20 forks source link

"Unable to get the UUID for username {0} from the Bitbucket API" #52

Closed christianspecht closed 4 years ago

christianspecht commented 4 years ago

This happens when trying to call https://api.bitbucket.org/2.0/users/{username}, which now returns a 404.

Apparently ea7b6eab was the wrong solution.

I contacted Bitbucket support, and according to their answer, the ability to call /users and pass a username should have been deprecated a year ago, but accidentally was left working. Now they noticed it and removed it, they suggested to use the workspaces API instead:

https://api.bitbucket.org/2.0/workspaces/{workspace} 

So for now, try to replace the /users call with a /workspaces call and deal with #50 later.