Skip to content
Back

Subject: Persistent 403 Forbidden Error on File Preview Despite Correct Permissions

  • 0
  • Sites
  • Web
iache
18 Jun, 2025, 04:25

Problem Description: I am developing a web application where users can upload and then view images. While file uploads are working correctly (after resolving initial authentication issues), displaying the uploaded images results in a 403 Forbidden status code for the GET request to the preview URL.

This issue occurs for all image files, regardless of whether they were uploaded recently or previously. The error is consistently observed in the browser's network tab.

TL;DR
Developers experiencing persistent 403 Forbidden errors when trying to preview uploaded images despite correct permissions. The issue occurs for all image files, even those uploaded previously. Solution: check permission settings on the server-side and ensure they are correctly configured for image files. Additionally, make sure the file paths are correct and properly linked in the application code.
iache
18 Jun, 2025, 04:27

Permissions

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