Skip to Content

REST Receiver channel error : Serialization error

Sep 25, 2017 at 08:18 PM


avatar image

Hi ,

I am getting - Serialization error ( HTTP 400) in Rest Receiver channel

MP: exception caught with cause HTTP PUT call is not successful. SerializationError.

Scenario is file to Rest ( XML to JSON conversion) to use PUT call to REST API.

any suggestion


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

sapbinary key Sep 26, 2017 at 10:44 AM

what happens when you try from outside pi, ie. using rest client with the same payload? is it successful?

check with rest team if they have any idea on this by sharing your input to them.

10 |10000 characters needed characters left characters exceeded
Vadym Diachenko
Sep 26, 2017 at 05:58 PM
Hello Ravi,
I'd suggest you to trace the outgoing payload using one of the following methods:
  1. In message monitor, checking the last message stage (e.g. AM or VO).
  2. Using HTTP provider traces in XPI Inspector.
  3. Checking ICM traces with trace level 3.
  4. Sniffing the outgoing traffic on network adapter with tcpdump or Wireshark.

Then ensure that json payload being sent by PI is correct. Alternatively you can test it with any 3rd-party REST client (e.g. SOAP UI or POSTMAN). If you will get the same error when sending with alternative client, then the problem is with payload. Otherwise - check the message flow within PI.

Best regards,

10 |10000 characters needed characters left characters exceeded