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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFileFetch errors out without response to the API call

I have tried other ways to call the API. The closest I have been is using the tFileFetch component. I am able to load the file using the upload field and the service responds only with the header of the response and an error message saying “java.io.FileNotFoundException: \defaultfilename.txt (Access is denied)”. What seems like is the code is still looking to fetch a file when I am calling a post method. I am attaching the zip file with just the tFileFetch component to it.

Have any of you encountered it? 

 

Labels (3)
5 Replies
Anonymous
Not applicable
Author

Hello,

Are you using a relative path for your Destination filename and your have full read/write permission to?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi,

I am actually not using the tFileFetch to "fetch" a file but to rather upload a file to the API.

Either way I have complete access to any folder on my local machine. 

Anonymous
Not applicable
Author

Hello,

Would you mind posting your job design screenshot on forum which will be helpful for us to address your issue?

Please mask your sensitive data.

Best regards

Sabrina

Anonymous
Not applicable
Author

I am attaching images of my tFileFetch component. 

It is very simple. Giving the API to call, passing a few header parameters, passing a few body parameters and in the advanced setting providing the file to upload. 


1.PNG
2.PNG
3.PNG
4.PNG
Anonymous
Not applicable
Author

I was able to get rid is this error by using the cache option:
go to TFileFetch component >> basic settings >> Select the check box : Use cache to save the resource