I'm trying to remove a user from a free workspace and getting the error message
Unexpected token '<', "<!DOCTYPE "... is not valid JSON parse anonymous
This doesn't look like something the average user can fix.
Hi Bill,
This error shows when you try to remove a user from their personal workspace, which is not possible. We have a ticket for improving the error message:
Up until some time ago, when someone signed up for a Bitbucket Cloud account, Bitbucket would automatically create a workspace for the user. This is considered to be the user's personal workspace and that user cannot be removed from their own personal workspace. Workspaces that are created manually by users (and not automatically by Bitbucket) are not personal workspaces, and any user can be removed from them by an admin.
If the user is no longer part of your team and if you have admin access to the repos, you can create a new workspace, transfer the repos and set up user access in that new workspace:
Please keep in mind that if you do that the URL of the repositories will change, so developers working on these repos will need to change the remote URL of their local clones. There are details about this in the second documentation page I shared.
Please feel free to let me know if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.