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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...