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
- createDocument not returning result
when making a createDocument call, I am not getting the object created. The DB is updated properly. Is this expected behavior?
- Hi, i'm having a error 401 and i can't f...
So i made a sign in/up + auth with zustand, and i only have created a database, inside of it there is a User collection with some attributes and then on Auth i ...
- [Bug] `collection` is an unusable attrib...
**Reproduction** - Create a string attribute called `collection` in Appwrite databases - Create a new document using the `node-appwrite` SDK and assign any str...