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: 
hako_sfc_93200
Contributor
Contributor

How to ignore 204 error message in tRest ?

Hello,
 
I'm using tRest component to delete data in an API. This API returns a 204 code with no content. tRest component has a ERROR behaviour althought that data are correctly deleted ...
  
I would like to consider this 204 as a normal behaviour. is it possible ?
I can't use TRestClient , because I have error with this :
0683p000009Ma0d.png
thx
Labels (3)
4 Replies
Anonymous
Not applicable

Hi
If the 204 code is defined by the API, tRest can do nothing for it. What is the error behavior?
Does the error stop the job and and prevent the execution of other components?

Regards
Shong
hako_sfc_93200
Contributor
Contributor
Author

Hi,

 

Thx for your feedback. It's a Fatal error :

 

0683p000009Ma0n.png

hako_sfc_93200
Contributor
Contributor
Author

Hello,

No one knows a solution, or why TRESTClient not work for me ?

Best Regard,
BhavikaW
Contributor III
Contributor III

Hello,

 

With the trestclient component, the content type can be defined as "Content-Type" : "application/json" in HTTP Headers section