Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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