I'm getting invalid email on signup altough the email is valid
TL;DR
The user had an issue with getting an "invalid email" error message while signing up, despite having a valid email. The issue has been solved by changing the parameters order in the account creation function. The correct order is:
```js
account.create(
uuidv4(),
user.email,
user.password,
user.name
)
```
More details can be found in the documentation: https://appwrite.io/docs/client/account?sdk=web-default#accountCreateYou just need to change the parameters order
TypeScript
account.create(
uuidv4(),
user.email,
user.password,
user.name
)
Check here https://appwrite.io/docs/client/account?sdk=web-default#accountCreate for more details
thanks for helpπ
[SOLVED]Invalid email problem
Recommended threads
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- change role of a team member in Appwrite
It's not possible to add/change roles of a team meber in Appwrite Frontend. When you click on a member of a team you get forwarded to the configuration page of ...
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, itβs mention that only setup client with endpoint / api key is enou...