ππΌπππππΎπΌπ
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#accountCreate Binyamin
You 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
- how to store array of objects as an attr...
department: [ { branch: "branchName", speciality: ["specialityName", "specialityName2"], }, ], storing this as an attribute
- Limit exceeded
status of 429 {"message":"The current user session could not be found.","code":404,"type":"user_session_not_found","version":"1.6.0"}
- Security Concern regarding the tutorial ...
In the tutorial we have: ```ts // src/lib/server/appwrite.js "use server"; import { Client, Account } from "node-appwrite"; import { cookies } from "next/head...