Hey everyone,
I’m running into a bit of a snag and could use some help. I’m trying to save a private file to S3, but I keep getting this error:
Unexpected status code 401 while getting content to save to S3 from URL https://myapp/version-test/fileupload/string_here/test.png
The thing is, the whole process works perfectly fine when it’s not a private file. I’ve made sure my privacy rules are set so I can see view attached files, but it still doesn’t work.
My use case is that I need the file saved to S3 so I can use OpenAI’s vision API. Has anyone here figured out how to do this or run into the same issue? If you have, what did you do to fix it?
I’ve looked around and couldn’t find much info on this. Any tips or advice would be really appreciated!