Back

getting `user_email_already_exists` error even when it's not

  • 0
  • Accounts
  • Web
manazo
3 Feb, 2024, 17:42

i'm using OAuth. and when trying logging in, i'm getting this user_email_already_exists error. it's true that i had an account with the same email i'm trying to use. but i deleted it from the console like an hour ago for testing purpose. and besides, even if the console have an existing account with the same email, isn't it supposed log the user in instead of showing this error?

Appwrite: Cloud Stack: NextJS@14 OAuth Provider: FB, Google and Apple are enabled. but i'm trying Google when getting this error

lmk if u need any more info to debug this

TL;DR
Developers are encountering a `user_email_already_exists` error even after deleting the account associated with the email. They are using OAuth with Google as the provider. They are wondering if the identifiers seen in the console match those returned by `users.listIdentities()`. One suggestion is to use the CLI to make the `users.listIdentities()` call. The error may be occurring because the identity is already linked to someone else. The solution is to debug the issue further by providing additional information.
Steven
3 Feb, 2024, 17:43

The identity may be linked to someone else already

Steven
3 Feb, 2024, 17:44

You can use the CLI to make the users.listIdentities() call to find out

manazo
3 Feb, 2024, 17:47

i can see the identifiers in the console. are they the same that users.listIdentities will return? and about the identifiers i see in the console, none of em matches with the email/phone that is assigned to the google account which i'm using to login

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more