tRESTClient Row Error Schema - get body and string

One Star

tRESTClient Row Error Schema - get body and string

I have a tRESTClient with a Content Type: FORM and Accept Type: Any
On the response row I can read a JSON in the string return perfectly with a tExtractJSONFields, but on the Erro row, I just can get the errorCode and errorMessage, and the problem is that I get a HTTP error code 422 and don`t know how to catch a body/string in an error schema.
There is a way to get the response? There is any workaround to get it?
Thanks
Employee

Re: tRESTClient Row Error Schema - get body and string

Hi,
Is tRESTClient error row executed, the status is set to 422, but errorMessage is empty ?
If so, does the server return 422 and the error message ? You can check it by enabling the logging on tRESTClient
Cheers, Sergey 
One Star

Re: tRESTClient Row Error Schema - get body and string

Hi, 
I am having the same issue. When an error occurs using tRestclient, It captures error code and http code message.
I would like to capture the error string/body (i.e error description). Is there any work around to capture this.