[ SOLVED ] I can't create a new user. “Error: A user with the same email already exists in your proj
- 0
- Self Hosted
- Functions
- Users
- Web
Hi! I call a function (in function I create user) from the web client, to which I send the payload with the email. It allows me to create a single user at first time. Then I call the function again and send another email, but returns an error “Error: A user with the same email already exists in your project.” and will return an error to any email I send after
This can go on indefinitely. Deploying a function does not change the answer. I can only break this by changing or deleting any existing user. After this action, I can create again only one user and everything repeats again.
Function made by nodejs
I can show the code if needed Thank you
I understand that your function is creating a user? How are you sending the email to the function?
Can you show the code of both the function and the execution
?
Good. And you get the error even when you sending a different email the payload?
Yes
Is the phone the same?
Yes thank you. It's because of the same number, I just checked. The error says it's a duplicate email and I didn't even look at the number when I tested it. Thanks a lot for your help!
FYI, this should be fixed in the latest version of Appwrite
[ SOLVED ] I can't create a new user. “Error: A user with the same email already exists in your proj
@Steven @Binyamin Thank you
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...