Error signing up user using web sdk. Error target is Missing required parameter: "phone"
- 0
- Users
- Accounts
- Web

Hello, I am using the attached code to signup user on the web using the appwrite web sdk. I noticed whenever a user signup the user data get submitted to my appwrite cloud dashboard, but afterwards a console error do appear which is "Error signing up: AppwriteException: Missing required parameter: "phone" . See attached screenshot for reference.

First thing I notice here is your call to account.create()
- the fourth parameter should be name, and there’s no phone
parameter

Then, in the updatePhone()
and updatePassword()
functions, there should be only two parameters - neither function takes the userID as a parameter

And why are you resetting all passwords to “newpassword” for every user, right after they’ve set their own anyway?
Recommended threads
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
