SAP Knowledge Base Article - Preview

3447790 - Calling the endpoint of Odata API Artifact failed with 401 Unauthorized error


OData API artifact is created and deployed on SAP Cloud Integration (former: CPI), Cloud Foundry environment. When calling the endpoint of OData API artifact from sender system, 401 Unauthorized error occurred. HTTP logs are as below, for example:

"GET /gw/odata/SAP/TEST_ODATA_API;v=1/$metadata HTTP/1.1" 401 xxms - - 



  • SAP Business Technology Platform
  • SAP Integration Suite
  • Cloud Integration, Cloud Foundry environment


Cloud Integration all versions ; SAP Integration Suite all versions


Cloud Integration, SAP Integration Suite, SAP Cloud Platform Integration, Cloud Platform Integration, SAP CPI, CPI, SCPI, HANA Cloud Integration, HCI, SAP HCI, tenant, iFlow, Integration Flow, OData API, client certificate, 401 , KBA , LOD-HCI-PI-OPS , Cloud Operations , 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.