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
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- Query.search limitation
Since `string` is deprecated I used `varchar`, and now I cant use `Query.contains` , so I setup fulltext index and started using `Query.search` the issue is `Qu...