SAP Knowledge Base Article - Preview

3708688 - 401 unauthorized error when accessing the calm documents API endpoint

Symptom

  • An error occurs when attempting to call the API endpoint https://cognitus-consulting-llc-cloudalm.eu20.alm.cloud.sap/api/calm-documents/v1/Documents, resulting in a "401 Unauthorized" response.
  • Connection with SAP Analytics Cloud (SAC) cannot be established.
  • The issue involves scopes calm-api.documents.read, calm-api.documents.write, and calm-api.documents.delete in the SAP Cloud ALM API service instance created in BTP.


Read more...

Environment

  • SAP Analytics Cloud 2026.2.1 (Server) 
  • SAP Analytics Cloud 2026.2.2 (Client)

Keywords

401 unauthorized, calm documents API, SAC connection issue, OData V4, BTP scopes, API endpoint, Bearer Token, structured data, feature request, SAP Analytics Cloud, ALM API , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.