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
Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.