Symptom
401 Unauthorized Error When Accessing REST API Endpoints in SAC
Environment
SAP ANALYTICS CLOUD 2026.2.10
Reproducing the Issue
- Copy a REST API endpoint path (for example, /api/v1/Scim2/Users).
- Paste the endpoint into a web browser and open it.
Notice : The request returns 401 (Unauthorized).
Cause
- The tenant is routed via the API Proxy. The API Proxy does not have session management and relies on token‑based (OAuth) authentication, so browser calls without an OAuth Bearer token return 401.
- For tenants that use only the Public API (not routed via the API Proxy), browser calls may be allowed; however, this does not apply to API Proxy–routed tenants.
Resolution
- Avoid calling REST API endpoints directly in a browser, as session-based access is not supported via the API Proxy.
- Configure and use an OAuth client for the tenant to access the SAC Public APIs.
- Obtain an OAuth access token from the configured OAuth client using the appropriate flow and include it in the Authorization header: Authorization: Bearer .
- Run the API request with a REST client (for example, curl or Postman) including the Bearer token to the required endpoint (for example, /api/v1/filerepository/...).
- If 401 persists, verify the OAuth client configuration (redirect URIs, grant type, scopes/permissions) and ensure that the token is valid and unexpired.
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
SAC API error, unauthorized access, API token issue, OAuth authentication, bearer token failure, SAC tenant issue, API proxy routing, REST client error, filerepository endpoint, SAC public API, session management error, access token validation, authorization header issue , KBA , LOD-ANA-ADM , SAC Administration , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public