Skip to Content
0
Oct 17, 2019 at 02:23 PM

SAP PI 7.40 REST adapter receiver method POST

484 Views

HI the community,

I consume a REST service method POST ( with JSON message ), when the response is ok, we receive an HTTP code = 204 .

In that case of code 204, there is no content but the adapter give an error

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rest.ejb.parse.InvalidJSonContent: Invalid JSON message content used; Message: "Missing value. at character 0 of "

I created a custom reply in "error handling"

How can I force the use of that custom Result ?

Thanks in advance

Eric KOralewski