Skip to Content
author's profile photo Former Member
Former Member

REST Receiver HTTP 204 response code

Hi @ll

I am working on a REST scneario, where data have to be sent asynchronously to a REST service, using POST operation.

In success case the service responds with HTTP 204 status code. Unfortunately PI interprets this as an error and the message gets into error status.

Is there a way to interpret this as successful message transfer?

I already checked Alexander's block regarding REST error handling.

I tried

  • specific action on HTTP 204 -> ignore error based on "http status code"
  • ignore error for empty response based on "text Content"

Further I adjusted the scenario using the HTTP_AAE receiver adapter with parameter treatRespSuccess according to note 1952605.

So far all approaches failed.

Is there any solution for this issue?

thanks for your input, appreciate your help.

Best regards

Add comment
10|10000 characters needed characters exceeded

0 Answers