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
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.