[ 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
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...