ππΌπππππΎπΌπ
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
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...