Symptom
SCIM2 API not working for 'Groups' - GET - https://<HostName>/api/v1/scim2/Groups returning HTTP 500 error
Environment
SAP ANALYTICS CLOUD 2025.8.6
Reproducing the Issue
- Get request to token url with Authorization: Basic Auth; Username: OAuth Client ID value; Password: Secret value HEADERS: x-sap-sac-custom-auth:true; Content-Type:application/json
- In the returned json result, copy the value from access_token.
- GET request to https://Tenant FQDN/api/v1/scim2/Users Authorization: Bearer Token; Token: access_token value which is get in step 3.
HEADERS: x-sap-sac-custom-auth:true; Content-Type:application/json; x-csrf-token:fetch - Get the expected result
- Change the request URL to https://Tenant FQDN/api/v1/scim2/Groups
-
The following error is shown{"schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],"status": "500","scimType": "","detail": "An internal error occurred."}
Cause
- One of the teams created for migration purposes incorrectly contain some API ACCESS users
- The API ACCESS users interfere with the Groups endpoint because when trying to fetch a Group, the API also fetches all the team members. But, because API ACCESS users are not supported in teams, the request throws an error.
Resolution
Remove the API Access users from the problematic team.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Keywords
API, SCIM API, SAC, groups, users, response, get, post, patch , KBA , LOD-ANA-LS , Licensing and Full User Equivalent , LOD-ANA-ADM , SAC Administration , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public