Back

createOAuth2Token not letting login user

  • 0
  • Cloud
LazyNinja
26 Jun, 2024, 07:59

account.createOAuth2Token is returning the following error message: { "message": "A user with the same id, email, or phone already exists in this project.", "code": 409, "type": "user_already_exists", "version": "1.5.7" }

TL;DR
The developer is having trouble logging in a user due to an error message stating a user with the same id, email, or phone already exists in the project. Solution: Check for existing users with the same credentials or use a different method to create the OAuth2 token.
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