
https://www.youtube.com/watch?v=ZBCUegTZF7M I have create same configuration in appwrite
Even tried web sdk to create
import {ID, Client, Account} from 'appwrite'; const client = new Client() client .setEndpoint("https://cloud.appwrite.io/v1") .setProject("663e447a00044fa78950"); const account = new Account(client); export const createUser = () => { // Register User account.create(ID.unique(), 'me@example.com', 'password', 'Jane Doe') .then(function (response) { console.log(response); }, function (error) { console.log(error); }); }
inside react native on Touchable opacity button i'm calling createUser function i'm getting the network request failed error

yes in console log i'm getting this error [AppwriteException: Network request failed]

what’s the full logs?

sometimes it works and sometime it doesn't

Logs

Could it be your Internet connection?

internet connection is working

Weird... I've seen some failed connections, but not a frequent as what you're showing 🧐

Actually i'm calling createUser appwrite api on a react native button click

Sometimes it works when i start makes changes in file it stops and then at random time it start working

Still.. I'm not sure why you're getting a failed network request error

i can provide my github repo

You'll need to find a way to debug the network request

I have open in js debug react native app but network insepctor not working

i'm react native sdk react-native-appwrite

maybe you need to enable internet permissions for android?

Somtimes it works gives response of created user and some time it gives request error

can you share a repo with your code?


https://github.com/ankitjasbeersingh/Nora/blob/main/lib/appwrite.js
in this file i'm using appwrite sdk for react native

may i test against your project?

yes sure

im not seeing these network errors. I see:
[AppwriteException: User (role: guests) missing scope (account)]
which is expected since I'm not logged in. And then I see a white page


Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
- [bug] API response is good but UI don't ...
Hi guys! When i got my object, it have billingInfo relation, in the web ui i just got pading state, and the row shows object is null, but when i work whit this...
