Can some please help with to load image from a bucket for a specific user for react native app (expo).
I have attached the code and the permissions for the bucket but facing this error:
(NOBRIDGE) LOG Started loading image 67431e890029341b2e32 (NOBRIDGE) LOG Started loading image 674311b7293ac8626c60 (NOBRIDGE) ERROR Error loading image 67431e890029341b2e32: {"error": "Unexpected HTTP code Response{protocol=h2, code=401, message=, url=my-endpoint/v1/storage/buckets/674311a40039c9d6ce79/files/67431e890029341b2e32/view?project=673dec23001013bd72c9}", "target": 2330} (NOBRIDGE) LOG Failed URL: my-endpoint/v1/storage/buckets/674311a40039c9d6ce79/files/67431e890029341b2e32/view?project=673dec23001013bd72c9 (NOBRIDGE) LOG Headers: {"Cookie": "a_session_673dec23001013bd72c9=67431fc7ebc5c3949acf", "X-Appwrite-Project": "673dec23001013bd72c9", "X-Appwrite-Response-Format": "1.0.0", "X-Appwrite-Session": "67431fc7ebc5c3949acf"} (NOBRIDGE) ERROR Error loading image 674311b7293ac8626c60: {"error": "Unexpected HTTP code Response{protocol=h2, code=401, message=, url=my-endpoint/v1/storage/buckets/674311a40039c9d6ce79/files/674311b7293ac8626c60/view?project=673dec23001013bd72c9}", "target": 2352} (NOBRIDGE) LOG Failed URL: my-endpoint/v1/storage/buckets/674311a40039c9d6ce79/files/674311b7293ac8626c60/view?project=673dec23001013bd72c9 (NOBRIDGE) LOG Headers: {"Cookie": "a_session_673dec23001013bd72c9=67431fc7ebc5c3949acf", "X-Appwrite-Project": "673dec23001013bd72c9", "X-Appwrite-Response-Format": "1.0.0", "X-Appwrite-Session": "67431fc7ebc5c3949acf"}
Recommended threads
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Websocket error Realtime
Hi peeps, I am trying to create realtime updates and I am having websocket error Code is below this msg
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...