SAP Knowledge Base Article - Preview

3095577 - com.sap.gateway.core.ip.component.odata.exception.OsciException: : 401 : HTTP/1.1

Symptom

You configure OData Adapter in CPI iflows and use Basic Authentication like below.



The message processing in CPI fails with error "com.sap.gateway.core.ip.component.odata.exception.OsciException:  : 401 : HTTP/1.1".
In LJS traces, you can find following errors.

HTTP Status Line:HTTP/1.1 401 
ODataV2_Adapter_Response_Headers:

  Cache-Control            : private
  Expires                  : Thu, 01 Jan 1970 00:00:00 GMT
  X-message-code           : PWD_WRONG
  WWW-Authenticate         : Basic realm="SAP HANA Cloud Platform"
  Transfer-Encoding        : chunked
  Date                     : Mon, 06 Sep 2021 05:30:01 GMT
  Keep-Alive               : timeout=20
  Connection               : keep-alive
  Server                   : SAP
  Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

SAP Integration Suite
SAP Cloud Integration

Keywords

OsciException, 401, PWD_WRONG, com.sap.gateway.core.ip.component.odata.exception.OsciException, SAP 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 , KBA , LOD-HCI-PI-CON-OD , OData Adapters , 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.