Supabase Storage: File Download 404 Caused by Case Sensitivity
The user sees the file name, but the download from its own path returns Not Found.
How to identify the source of the problem
Compare the full storage path from the list of objects used by the frontend, including the letter size.
Compare the result for the authorized and unauthorised user, project name and exact error code.
Repair steps
Save and read the canonical path returned by upload instead of reconstructing it from the names displayed.
How to Test Solution
The download works for the original file, and the non-existent path gives 404.
Security and restrictions
Change permissions and scheme first on test data with backup. Do not put service role in your browser.