I just started using Apryse tonight. I am trying to create a user but I keep getting this error
[AppwriteException: Network request failed]
import { Client, Account, ID } from 'react-native-appwrite';
export const config = { //all required ids here };
// Init your React Native SDK const client = new Client();
client .setEndpoint(config.endpoint) // Your Appwrite Endpoint .setProject(config.projectId) // Your project ID .setPlatform(config.platform) // Your application ID or bundle ID. ;
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); }); }
Recommended threads
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...