Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
0683p000009MB9H.jpg
Labels (4)
2 Replies
Anonymous
Not applicable
Author

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 
_AnonymousUser
Specialist III
Specialist III

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.