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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
jain1
Contributor
Contributor

how tRESTClient works for " error output section" when "die on error" is enabled on the component

Hi Team,

Can you please let me know how tRESTClient works for " error output section" when "die on error" is enabled on the component. Will timeout to endpoint url treated as run time error? Please find the screen shot attached.


0683p000009M8x8.png0683p000009M8xD.png

Thanks,

Jain

Labels (2)
2 Replies
Anonymous
Not applicable

Hi,

 

tRESTClient component feeds error output when your url exists and the service you are requesting sends a 500 / 404 ... error with an attached message (example : {"detail":"Not found"} )

Your ERROR Output will transmit the errorCode and errorMessage to your tjavaflex in your case.

 

The DieOnError checkbox just stops the job when a java error is thrown by the component itself, not the service called.

If the component has an error, it cannot send a message to the ERROROutput.

 

Regards

Pierre

jain1
Contributor
Contributor
Author

Thank you Pierre for your response.