Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
jerownimow
Contributor III
Contributor III

tFileFetch fails with '403 Forbidden'

Hi Folks,

I'm working on a job that uses tFileFetch and encountering below error:

Method failed: HTTP/1.1 403 Forbidden

java.lang.Exception: Method failed: HTTP/1.1 403 Forbidden

I followed the solution written here: https://community.talend.com/s/article/tFileFetch-fails-with-Forbidden-kLdke

but it didn't work. Probably, I'm using an incorrect value.

How do we determine what value are we going to set for the header User-Agent?

Labels (4)
6 Replies
Anonymous
Not applicable

Hello,

The "User-Agent" "Mozilla/5.0" should be working. What's value are you using in tfilefetch component?

Best regards

Sabrina

Anonymous
Not applicable

did you make a test with a smple curl/wget command to feth the file "operating system" level ?

 

jerownimow
Contributor III
Contributor III
Author

Here, I only encounter these when deployed in TMC

0695b00000WtZ5dAAF.png0695b00000WtZ5YAAV.png

Anonymous
Not applicable

Hello,

Does it mean this issue cannot repro on studio? It only appears in TMC?

Best regards

Sabrina

 

 

Best regards

Sabrina

 

 

jerownimow
Contributor III
Contributor III
Author

It only appears in TMC. Is Mozilla/5.0 applicable to all?

Anonymous
Not applicable

Hello,

All thing is correct configuration in TMC(context value, connection)?

Best regards

Sabrina