-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
product / self-hostedIssues only found when self-hosting AppwriteIssues only found when self-hosting Appwriteproduct / storageFixes and upgrades for the Appwrite Storage.Fixes and upgrades for the Appwrite Storage.questionFurther information is requestedFurther information is requested
Description
👟 Reproduction steps
When using a session client (authenticated user) to access a storage bucket with appropriate permissions, Appwrite returns a 404 error claiming the bucket cannot be found. The same operation works correctly when using an admin client.
- Create a storage bucket with the following configuration:
Bucket permissions: Role "any" with full CRUD enabled
File Security: Disabled (also tested with enabled + file-level "any" permissions) - Create an authenticated session using the node-appwrite SDK
- Attempt to access a file using the session client
storage.getFile({ bucketId, fileId })
👍 Expected behavior
Expected to get the file.
👎 Actual Behavior
Got an error:
AppwriteException: Storage bucket with the requested ID could not be found.
code: 404
type: 'storage_bucket_not_found'
🎲 Appwrite version
Version 1.8.x
💻 Operating system
Something else
🧱 Your Environment
Appwrite v1.8.1, "node-appwrite": "^20.2.1"
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
product / self-hostedIssues only found when self-hosting AppwriteIssues only found when self-hosting Appwriteproduct / storageFixes and upgrades for the Appwrite Storage.Fixes and upgrades for the Appwrite Storage.questionFurther information is requestedFurther information is requested