[ 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
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...