Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22888

Trying to delete the owner of a personal workspace shows invalid error message

      Issue Summary

      • When trying to delete the owner of a Personal workspace, an invalid error message is presented.
      • NOTE: this also displays if you attempt to delete the only user present in groups on the workspace.
        For example - workspace has two users, userA is the owner and they are not in any groups, userB is an admin - deleting userB causes the error

      Steps to Reproduce

      1. Access a Personal Workspace with an account that is workspace admin but not the owner of the personal workspace (or the only group member - see above)
      2. Navigate to Workspace Settings > User Directory
      3. Try to remove the user

      Expected Results

      An error message indicating that removing access from the owner/only group member of a personal workspace is not possible

      Actual Results

      The below invalid error message is presented : 

      Error

      Unexpected token '<', "<!DOCTYPE "... is not valid JSON

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [BCLOUD-22888] Trying to delete the owner of a personal workspace shows invalid error message

            No work has yet been logged on this issue.

              Unassigned Unassigned
              641e77b2eb21 Patrik S
              Affected customers:
              3 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated: