Untreated 500 error when using the API endpoint "Remove member from group using group id"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • Component/s: User - API
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      When sending a DELETE request to the following endpoint:

      A 500 error is returned if the API key owner isn't added as a site-admin.  

      Steps to Reproduce

      1. Create an API key with a user who is not part of the site-admins group. 
      2. Send a DELETE request to the API endpoint to remove a user from a group. 

      Expected Results

      According to the documentation, a 403 (Forbidden) error should be returned: 

      Actual Results

      While being part of the site-admins group is a requirement as per the documentation: 

      A 500 error is returned that doesn't provide a clear explanation about why the request failed: 

      "statusCode": 500,
      "message": "com.netflix.hystrix.exception.HystrixRuntimeException: RemoveUserFromGroupByAccountIdIdentityPlatformCommand failed and no fallback available." 

      Workaround

      Adding the API owner to the site-admins group resolves the 500 error. 

        1. image-2025-06-03-10-28-18-676.png
          31 kB
          Renan Andrade
        2. image-2025-06-03-10-30-37-181.png
          54 kB
          Renan Andrade
        3. image-2025-06-03-10-31-24-264.png
          54 kB
          Renan Andrade

              Assignee:
              David Skudra
              Reporter:
              Renan Andrade (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: