Skip to Content

REST Sender Synchronous - HTML error response instead of JSON

Hi,

For REST sender synchronous scenario, I have maintained mandatory field in sender data type. but when mandatory fields are missing then I am not getting a response in JSON format rather getting a response in HTML format. Please suggest what needs to be updated.

<html><head><title>Error</title></head>
<body><h1>Error</h1><pre>
Error while sending message to module processor: Sender Channel 'I2_RESTAPISender' : Catching exception calling messaging system: com.sap.aii.af.sdk.xi.srt.BubbleException: System Error Received. HTTP Status Code = 200: However System Error received in payload ErrorCode = INCORRECT_PAYLOAD_DATA ErrorCategory = XIServer Parameter1 =  Parameter2 =  Parameter3 =  Parameter4 =  Additional text =  ErrorStack = Error while processing message payload

Element 'Unique_Id' missing
 [http://sap.com/xi/XI/Message/30^Error "INCORRECT_PAYLOAD_DATA"]
</pre></body></html>

Attached my REST Sender Channel Configuration.

Br,

Raj

e1.jpg (62.3 kB)
e2.jpg (41.6 kB)
e3.jpg (21.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jun 18, 2018 at 12:25 PM

    Hi,

    Any hints?

    Br,

    Raj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 23, 2019 at 09:22 AM

    Hi,

    May be it's too late but i had this problem because i was used the SOAPui and i had to set the encoding correct, in the SOAPui, to support characters like í or ó

    Regards.

    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.