Image view giving 404 when mode=admin not added to the image url although the user has permission
- 0
- Web
- Storage

if i use this url : {baseUrl}/v1/storage/buckets/{bucketId}/files/{fileId}/view?project={projectId} i get this message error:
"message": "The requested file could not be found.",
"code": 404,
"type": "storage_file_not_found",
"version": "1.4.13"
}```
but if i use this url {baseUrl}/v1/storage/buckets/{bucketId}/files/{fileId}/view?project={projectId}&mode=admin
the image gets rendered correctly

Are you using this URL in the browser address bar or in an img element?

i tired it in both the img tag and the the browser address bar

but eventually i want to use it as an image element src
Recommended threads
- Custom Domain
I’m trying to add a custom domain. I added the nameservers like shown for kassa.velleb.com I always get this error, ive waited for a day now and ive checked dns...
- Storage files, invalid Argument Server E...
The files were created using the Node-Appwrite SDK, with access permissions granted to the creator and the admin. They were created over the span of two years u...
- Bulk Update Error
Getting Following error when updating a document: ``` Failed to Update User: Bulk update is not supported for collections with relationship attributes. ``` In...
