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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to handle 302 exception and parse response URL without following redirection?

Hello everyone

Talend throws an exception when an API returns 302 Found. That's the expected response from the API so it's OK. I DON'T want to follow the redirect in this case.

 

 

As is: exception is thrown and the response URL cannot be parsed.

Goal: to parse the response URL and take one parameter value and continue job with it.

 

 

How to parse the URL without getting the exception AND without following any redirect? I can see the documentation that 302 could be followed with a HTTP proxy, but as mentioned there's no need to follow..

Thanks.

 

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hello,

Http 302 Found means,URL has been temporarily redirected to another URL. The client system is expected to immediately retry the alternate URL.

Are you trying to set the Authentication to "Basic HTTP" in the tRESTClient component as the credentials provided in the authentication were same to login to the redirected page.

Best regards

Sabrina