I am on Appwrite self hosted 1.8.0 I use the web sdk 21.3.0
I created a bucket and it has this permission (users:create) then i enabled the file security then i uploaded a file via the sdk and i passed the permission ( team: read, update, delete) and ( loggedInUser: read, update, delete)
When i use the SDK to get the image it fails, all 3 methods gives me 404, end the network tab shows (failed)net::ERR_BLOCKED_BY_ORB
When i set the entire bucket to fully public ( or all users can read ) then i get the image properly
If i get the link from Appwrite's dashboard i get the <,&mode=admin >> in the generated url then the file shows in the browser,
The link from the dashboard is same as the link from the sdk apart from the "mode"
I am not sure why this is not working here is the code i used
return appwriteStorage.getFilePreview({
bucketId:ServerStorageBucketIds.photos,
fileId:photo.objectID,
})
}
Recommended threads
- Sites Runtimes 1.8.0 Self-Hosting. Flutt...
I have a problem with the Flutter version for SITES RUNTIMES. I use self-hosting and updated to version 1.8.0, which according to the changelog says they updat...
- Custom Domain Verification Failed
Hi! I woke up to my app not working because of this custom domain verification failed error. I have not moved any DNS configuration since I set it up 3 years ag...
- Bulk feature status
Hi there, I am using version 1.7.4 self hosted and wanted to use the bulk operations in a dart function. I saw that in the dart_appwrite sdk version 16.1.0 it ...