[ 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
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...