1 Reply Latest reply: Sep 14, 2012 2:36 PM by 589725 RSS

    IB returning HTTP 200 instead of 400 for REST fault message

    904645
      Hi!!

      I created a REST service and added a fault message for a POST service operation.
      But IB is sending HTTP 200 even for the fault message which should be 400.
      I tried logging the HTTP response code in my handler where it is showing 400 but while posting it is sending 200.
      Please help....

      Thanks.
        • 1. Re: IB returning HTTP 200 instead of 400 for REST fault message
          589725
          If you are running this on 8.52 then this behavior is as designed- as there was an issue in that release with the connection being closed if the response was 400. That is why its a 200 - so that the HttpTargetConnector would actually get the data back...
          That said, the connection issue has been addressed in 8.53 tools so that true Http Response is returned regardless.