Skip to content
Back

Storage Bucket Permissions

  • 0
  • Self Hosted
  • Storage
julian.urabl
13 Feb, 2026, 12:19

Hey folks, when enabling CRUD on the bucket level for the role any, should the bucket be accessible when using a session client?

TL;DR
Developers are struggling with accessing a file in a storage bucket using a session client and encountering a 404 error. The issue seems to be related to permissions, as an admin client can access the file without any problems. The developers are questioning if enabling CRUD on the bucket level for the role 'any' should allow access when using a session client.
julian.urabl
13 Feb, 2026, 12:29

More precisely, when trying to access a file within this bucket using a session client, is 404 bucket not found expected?

TypeScript
{"message":"Storage bucket with the requested ID could not be found.","code":404,"type":"storage_bucket_not_found","version":"1.8.1"}

I'm able to access the file with an admin client, same bucketId, same fileId

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