Back

Uploaded images/previews show from cloud storage but not found when uploaded to local AW

  • 0
  • Self Hosted
  • Web
  • Storage
  • Cloud
Sonicviz
24 Jan, 2024, 06:52

Q on image storage and retrieval with buckets. I have image file upload and retrieval working fine with AW cloud, also with image preview in a list. AW console and prototype app show images and image previews aok. However, when I upload images (successfully) to a local docker AW backend they show on the AW console, but in the prototype app listing available user uploaded images the preview images are broken and the main image links return {"message":"The requested file could not be found.","code":404,"type":"storage_file_not_found","version":"1.4.13"} File security is on. Are there some settings for local that need enabling in this case?

TL;DR
The developer is having an issue with uploading images to a local AW backend. The images show up on the AW console but the preview images are broken and the main image links return a "file not found" error. They suspect it might be a permissions issue. The solution would be to check the file security settings and ensure that the user has permission to view the images.
ideclon
24 Jan, 2024, 06:54

Is it possible that the user you’re using doesn’t have permission to view the image?

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