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
- Substring lookup for array elements
Hello, Is substring look up possible for array of strings? ```js Query.contains('product_names', [chair]), ``` this only works if I have the exact item name. `...
- Hey everyone! I'm trying to self-host th...
Hey everyone! I'm trying to self-host the latest Appwrite version (1.8.1) on Coolify. Which docker-compose.yml file should I use from their repo? Can someone he...
- Weird Query Error
In next js I am getting this error in the image ```js queries: [ Query.equal('title', TitleId), Query.limit(10) ] ``` am I doing something...