Skip to Content
Jun 15, 2018 at 12:11 PM

REST Sender Synchronous - HTML error response instead of JSON

647 Views Last edit Jun 15, 2018 at 12:14 PM 3 rev


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.

Error while sending message to module processor: Sender Channel 'I2_RESTAPISender' : Catching exception calling messaging system: 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

Attached my REST Sender Channel Configuration.




e1.jpg (62.3 kB)
e2.jpg (41.6 kB)
e3.jpg (21.7 kB)