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
- Locked out of account
Hey guys, I have a paid account and have been locked out. Apologies for using this method, but I'm getting no response via the contact us page. I had a old do...
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- Can not get the logged in user data in N...
I'm trying to get the user data after i log in with otp but it get this error : AppwriteException: User (role: guests) missing scopes (["account"]) at Gen...