yasmeenOriginal post
Rank 1: Thread
if i use this url : {baseUrl}/v1/storage/buckets/{bucketId}/files/{fileId}/view?project={projectId}
i get this message error:
Plain text
"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=adminthe image gets rendered correctlySummary
Developers are facing an issue where an image view gives a 404 error when the "mode=admin" parameter is not added to the image URL, even though the user has the necessary permission. The URL format is "{baseUrl}/v1/storage/buckets/{bucketId}/files/{fileId}/view?project={projectId}". When this URL is used without the "mode=admin" parameter, the error "The requested file could not be found" with code 404 and type "storage_file_not_found" is received. However, when the "mode=admin" parameter is added to the URL, the image is rendered correctly.