Skip to Content

HTTP header issue with S4 API call

Hi Experts,

I am calling an API in S4 through HTTP adapter in CPI, In some cases, I am getting below response from S4:

HTTP header is larger than 8192 bytes

Please help if anyone have seen this before?

Thanks

Navneet

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 31, 2019 at 02:47 AM

    Hi Navneet,

    Could you please share some more details regarding the i-flow.

    Is this the only outbound call to the system or are you making series of call and in second or third call you are getting this response.

    And second do you get similar response when you use any external rest based client to make the call or only through CPI.

    You could just try to clearing the headers before making call to the API.

    for reference:

    https://blogs.sap.com/2018/01/18/sap-cpi-clearing-the-headers-reset-header/

    hope it helps !

    thanks and regards,

    Praveen T

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 04, 2019 at 07:48 AM

    Hi Navneet,

    The reason is one of the header key value is exceeding the permissible length of header value.

    could you try printing all the header values once using the groovy.

    thanks and regards,

    Praveen T

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.