Skip to content
Back

Image does not display on react-native/expo screen

  • 0
  • React Native
  • Storage
Cordy
20 Aug, 2025, 16:50

I'm watching and learning react-native/expo + appwrite from a tutorial. So, in this tutorial, some images are retrieved from the appwrite storage and displayed them on a screen. But in my end, the images are not being displayed and if I console log the image url, I can see a long link.

I'll provide all the code for the screen and the component where I'm loading the images below this main thread.

I double checked that all ther necessary permissions for all the logged in users are already allowed for the storage bucket.

Please help me someone to keep continue the tutorial and learn this properly. Also please let me know if you need more details regarding this project to help me with this project.

Thank you!

TL;DR
Developers are encountering an issue where images are not displaying on a react-native/expo screen. The console log indicates a "project_not_found" error. The problem may be related to incorrect project ID in the X-Appwrite-Project header. Verify project ID and permissions on the storage bucket.
Cordy
20 Aug, 2025, 16:51

The screen where I'm displaying the images from the MenuCard component.

Cordy
20 Aug, 2025, 16:52

This is the MenuCard component where and how I retrieve the images from the storage bucket.

Cordy
20 Aug, 2025, 16:53

This is the appwrite.ts file where I've configured the appwrite

Cordy
20 Aug, 2025, 16:54

This is the custom hook .ts file where I got from the tutorial video

Cordy
20 Aug, 2025, 16:55

This is what I'm seeing for the console log in the MenuCard.tsx file

TypeScript
{
  "message": "Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.",
  "code": 404,
  "type": "project_not_found",
  "version": "1.7.4"
}
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