I have a bucket and set READ, Write permission for Users. But unable to read data even though the user is authenticated and has a valid session. [The user is verified]
Would you please provide the exact error?
════════ Exception caught by image resource service ════════════════════════════
The following NetworkImageLoadException was thrown resolving an image codec:
HTTP request failed, statusCode: 404, https://mydomain.mydomain.azure.mydomain.com/v1/storage/buckets/avatars/files/e948a230/view?project=1fcc34adc
When the exception was thrown, this was the stack
#0 NetworkImage._loadAsync
_network_image_io.dart:117
<asynchronous suspension>
Image provider: NetworkImage("https://mydomain.mydomain.azure.mydomain.com/v1/storage/buckets/avatars/files/e948a230/view?project=1fcc34adc", scale: 1.0)
Image key: NetworkImage("https://mydomain.mydomain.azure.mydomain.com/v1/storage/buckets/avatars/files/e948a230/view?project=1fcc34adc", scale: 1.0)
If the permission set to Any it work
That would indicate a session isn't being used to request the image. See https://github.com/appwrite/appwrite/discussions/3474#discussioncomment-3109355
Recommended threads
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...