MatheusOriginal post
Web Developer
I have a Next.js application that stores user PDFs. I'm able to save them normally, but when trying to access the files using getFileView, I get a 401 Unauthorized error. I've tried numerous times and it always happens. I followed a login tutorial on YouTube from Appwrite itself, but it still didn’t work. I’ve attached files with my functions.
Summary
The developer is encountering a 401 Unauthorized error when trying to access files via getFileView in their Next.js application. They have followed a login tutorial from Appwrite but still face the issue. They have provided their functions for reference.