cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Cloud Platform Integration - Invalid backend response: HTTP header is larger than 8192 bytes..

former_member601123
Participant
1,757

Hello,

We are working in the development of an integration flow, for electronic invoicing purposes.

The flow starts with the execution of an HTTP service, the payload is transformed and sent to the electronic invoicing supplier web service, then this response is transformed and send to the SAP backend using an OData service exposed from backend.

We have checked the (IWFND/TRACES) and the payload seems to be correctly processed in backend, however, when trying to catch the OData service (Backend) response, the next error is thrown in SAP CPI:

Invalid backend response received by SCC: io.netty.handler.codec.TooLongFrameException: HTTP header is larger than 8192 bytes..

How can we prevent the backend to return a large response in the header? Or How can we handle this error?

Best Regards.

View Entire Topic
Hilderink
Discoverer
0 Kudos

I had the exact same error coming from the SCC from a different scenario. A change in the SCC settings worked for me. I guess it would work in many different situations if you receive this specific error.

I know it's an old topic, but if you encounter this error; Configure the SAP Cloud Connector so that it can process HTTP response headers that are larger than the default 8 kB:

In the 'Cloud Connector Administration' , go to Connector-> Configuration -> Advanced -> Max. HTTP Response Header Length (kb) and set this to the recommended value (30).

My source: SAP-note 2875647 - "SAPUI5 ABAP Repository Load via OData: URL parameters to reduce size of messages in HTTP response header".