-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Can't create new user #6249
Comments
It appears that this happens when I am logged in with a specific user, with a different user the same code works. |
I found where it comes from, if you enter a phone number in auth you can't create a user anymore. |
@develocode777, thanks for creating this issue! 🙏🏼 It looks like this occurs when a user with a phone number has logged in and tries to create a new account. Let me talk to the team about how to proceed with this. |
can i work on this issue? |
I was testing Appwrite Authentication for a project and when I tried to log-in a new user (OAuth 2) that error occurred:
but It was because there was already another session in there so I used the log-out function which has the current user session remove method. ( It worked! |
Now I am having this error and I really don't know how to solve it |
I am getting this as well. I am using React-Native Expo and have 2 Android emulators - API 35 and API 33. The API 35 doesn't have any issue creating a new user, but the API 33 recently started having problems. version - "appwrite": "^16.1.0" |
When you delete a user, everything associated with the user (e.g. Identities, targets, etc) is deleted in a background job. The background job may take some time to process depending on what else is in the queue. So, you can get an error if you try to create a new account with the same email before the identity was deleted. Make sure to delete the targets and identities first before deleting the user if you need to reuse the email before the background job runs. |
👟 Reproduction steps
Whatever I put in userId, email, password or name I get AppwriteException: user_already_exists. This happens only in one app, if I use the same code in a new app it works. Is there some limit per app or something?
👍 Expected behavior
Should create a new user
👎 Actual Behavior
Throws error AppwriteException: user_already_exists, A user with the same id, email, or phone already exists in this project. (409)
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
1.4.2
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: