Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
gt0731
Contributor III
Contributor III

Error Handling - HTTP STATUS CODE on tHttpRequest component

Hi Everyone 

I stuck in error handling for HTTP STATUS code in tHttpRequest component.

We tried 

On Component Error  - This is working 
tHttpRequest supports the trigger On Component Error
(String) globalMap.get("tHttpRequest_1_ERROR_MESSAGE") when a Component Error occurs.


HTTP STATUS CODE - This code is not working 

HTTP Status Code of HTTP_OK is returned, the value urlConn_tHttpRequest_1.getResponseCode() + " " + urlConn_tHttpRequest_1.getResponseMessage() is written to the console System.err.println

Input Job flow 

tFileList  (Iterate)>> tHttpRequest >> (onCompoenentOk) tFileInputRaw 

 

Any help on it would be much appreciated with Job flow 

Labels (3)
0 Replies