Skip to Content

Issue with Receiver REST Adapter!

Hi,

I have PO 7.5 installed with the SP 6.

I am calling a synchronous REST service (REST to REST interface) , it is working fine for success case.But in case of an error I get 400 HTTP error code, and there is payload in the error message case . I want to pass this error message to the sender.

I have configured Error Handling tab :

But it is giving Premature end of file error.

channel.png (19.3 kB)
prematureend.png (190.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 10, 2017 at 03:35 AM

    HI Ritesh,

    Please check these 2 notes, where SAP has replied to use modules parameters

    https://launchpad.support.sap.com/#/notes/0002223623

    https://launchpad.support.sap.com/#/notes/2238546/E

    Regards,

    Sachin Dhingra

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 14, 2017 at 10:15 AM

    If you set "ignore error" option, adapter return empty payload.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 14, 2017 at 06:44 PM

    try like below:

    02 Source is error - channel.png

    Reference:

    PI REST Adapter – Custom error handling

    Regards,

    Nabendu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 14, 2017 at 11:13 AM

    Hi Ritesh,

    How did u sorted the above problem can u explain in brief.i am having similar kind of requirement.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded