
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
- Need help setting up this error is showi...
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cl...
- Appwrite stopped working, I can't authen...
I'm having an issue with Appwrite. It was working fine just a while ago, but suddenly it stopped working for me and can't authenticate accounts. I even went bac...
- Fail to receive the verification email a...
I added my email address to prevent it from showing "appwrite," but now I'm not receiving emails for verification or password resets. The function appears to be...
