Is there a proper way files are zipped to be put on s3, for Haystack to read them in? #1531
-
Hi, I am trying to zip and read in my own files from s3 bucket using the Tutorial 1 for Haystack here. I can read in the zip file that is specified in the tutorial, no problem on my local setup: When I zip my own files and move to s3 bucket, and try reading in the zip file using this code, I get error:
Machine specs: The way I zipped the file was:
Then I ran this function, i found here
Regardless of what I try, I get the same error when I try to read in my own zip files. Is there something specific I need to do to zip my own files to be put on s3 so I dont get the Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @asharm0662! My guess is that your file is not publicly available by everyone and therefore, the zip-file is not downloaded. If you open the s3-url in your browser, will it download the file or do you get an "AccessDenied" error? |
Beta Was this translation helpful? Give feedback.
Hey @asharm0662! My guess is that your file is not publicly available by everyone and therefore, the zip-file is not downloaded. If you open the s3-url in your browser, will it download the file or do you get an "AccessDenied" error?