SAP Knowledge Base Article - Preview

3085717 - HTTP POST call fails with 411 error in HTTP Receiver adapter while invoking target API URL

Symptom

You are using HTTP Receiver adapter to call target API URL in SAP Cloud Integration tenant. Message fails with below error:

org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking <target API URL> with statusCode: 411

If you check message processing log (MPL), you can see the below details:

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

Cloud Integration 4.0 ; SAP Cloud Platform Integration for process services 3.0 ; SAP Integration Suite all versions ; SAP SuccessFactors HXM Core 2005

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 ONE Support launchpad (Login required).

Search for additional results

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