cancel
Showing results for 
Search instead for 
Did you mean: 

Handling Response message in REST Receiver in format other than jason.

bhargava_dns
Participant
0 Kudos
415

In sap PO 7.5 we are having a rest receiver channel , where the request is sent in JSON, but the response that we are getting is not in the format of JSON but some HTTP response which contains simple message like SUCESS: 100:123 or FAIL :200:123 .

The po system is unable to handle this message and throwing an error saying invalid json format.

How to handle this kind of responses which are not JSON.

View Entire Topic
PriyankaChak
Active Contributor
0 Kudos

Hi Bhargava,

You can inform your target system to send message body in JSON format.

Regards,

Priyanka

bhargava_dns
Participant
0 Kudos

We have requested the target system...but they have declined the request