Back

Problem with loading the images stored on the cloud.

  • 0
  • Databases
  • Storage
  • Cloud
mm1212
4 Apr, 2024, 14:54

I have create a new bucket as category images and uploaded some images on there, then I have copied their URL can create a document and for one of there failed I have entered that URL. When I try to get the URL I am getting this error:

"Error loading image: Unexpected HTTP code Response{protocol=h2, code=404, message=, url=FilePath"

I am using react native.

TL;DR
Developers are experiencing issues with loading images from a cloud storage bucket in a React Native project. The error message "Error loading image: Unexpected HTTP code Response{protocol=h2, code=404, message=, url=FilePath" indicates the document may not exist in the bucket. Double-check the file paths, bucket contents, and ensure correct URLs are being used.
Evdog
4 Apr, 2024, 15:37

404 is not found, does that document exist in the bucket?

mm1212
4 Apr, 2024, 15:58

No, that document is inside the database

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