
Hi, i'm facing an issue regarding appwrite file permission, i have a web app that allows the user to download a file from the appwrite strorage, for that purpose i set up an api key with the permission to read the files and buckets, when trying to download a file, this error pops up: {"message":"The current user is not authorized to perform the requested action.","code":401,"type":"user_unauthorized","version":"1.4.9"} btw, when i'm signed-in into the appwrite, it downloads the file properly, but if i'm signed out (which should be the case for all users) i won't download and the above message appears FYI: the appwrite is installed within our VPS server

You can’t use an API key with the front-end SDK. You can grant access to anyone on the files, so that they don’t require being logged in

alright, thanks, it worked

[SOLVED] Not authorized to access files in buckets
Recommended threads
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
- implement caching
It it possible to cache response for few minutes? I dont want to create function or implement a whole reverse server just to cache it in somewhere ?
- Invalid redirect url
I keep getting invalid redirect url in Nextjs when i try to use google or github authentication
