Back

When I set User Permissions, correct session cookie, I get a 404 of image not found.

  • 0
  • Storage
grav
2 Feb, 2025, 17:01

When I set role to "Any" or "All users", it works. When I check the upload, it has the correct user:679f5f8a00035fe3b984

When I open the http://localhost:3000/v1/storage/buckets/profileImages/files/679f9f04002f4e147330/view?project=679250d800205b326dbc and check the session request-cookie I see the right one, although maybe it's not setting the right session? I only see 1 cookie, the one I set SSR.

TL;DR
Developers are facing a 404 error for an image not found when setting user permissions correctly with the correct session cookie. It works when the role is set to "Any" or "All users". The session cookie seems to be correct, but there may be an issue with setting the right session. Only one cookie is seen, the one set SSR.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more