Symptom
Message fails with below error when using HTTP Receiver adapter to call target API URL in SAP Cloud Integration tenant.
org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking <target API URL> with statusCode: 411
Below details observed in message processing log (MPL):
HTTPStatusCode = 411
ModelStepId = MessageFlow_XX
ResponseBody = {"fault":{"faultstring":"Content-Length is missing","detail":{"errorcode":"messaging.adaptors.http.flow.LengthRequired"}}}
Read more...
Environment
- SAP Integration Suite
- SAP Cloud Integration
Product
Keywords
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, 411, payload, API, empty body, HTTP receiver adapter, HTTP adapter, HTTP, post, post call , KBA , LOD-HCI-PI-CON-HTP , HTTP Adapter , 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.