AppwriteException Network request failed | react-native/expo + Appwrite
- 0
- Databases
- React Native
- Storage
I'm watching a react native / expo tutorila that uses Appwrite as it's backend for its database. So, in this tutorial, there is implementing the seed functionality for the database and storage. So, finally executing the seed function, the Appwrite throws an error as below
AppwriteException: Network request failed
The error doesn't fix even if I use the npx start -c or npx expo start -c
So, I would like to know how could I be able to fix this. Please help me someone tkeep continue the tutorial from the current state.
Thank you!
Can you provide the code you're using that is throwing this error?
This is the data.ts file
This is the seed.ts file
Here is the appwrite.ts file which contains all the configurations for the appwrite
I know the provided code is too much but I hope this may not be an issue to resolve the problem
what function is throwing the error
from the seed.ts. when I execute it to seed the data to the database it throws that AppwriteException: Network request failed error
where in seed.ts
This is it
sure that's the file, there are multiple calls to appwrite I'm not going to run this myself, i want to know where it's throwing what function inside this file. Do you have a stack trace?
Hold on
Recommended threads
- Server Down
Appwrite services are down. When will they start working again?
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...