Back

appwrite(1.5.4)/Storage

  • 0
  • Self Hosted
  • Web
  • Storage
Elie Waked
12 Apr, 2024, 10:19

i have created a bucket with fileSecurity && premissions on group level the user was able to upload the file and not being able to read it even though he can delete it and create another one the user group permission is set on the bucket permission level as 'Create' and file security is 'ON' not being able to read the file download .. Preview, View ... nothing in that manner

the response from the http request is

TypeScript
 {"message":"The requested file could not be found.","code":404,"type":"storage_file_not_found","version":"1.5.4"}

if permission on the file level is set to ANY, then the file is retrieved Thanks

TL;DR
Developers are having trouble with appwrite(1.5.4)/Storage, where users can upload files but not read/download them despite having delete and create permissions. The issue is resolved by setting file permissions to ANY instead of group level.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more