Rank 1: Thread
👋 Hello! I’m encountering an unexpected behavior when creating a user in Appwrite.
🔍 Issue:
• I first created a user using Google OAuth.
• Then I tried to create a user with the same email using email/password.
• Instead of receiving the expected 409 user_already_exists error, I received:
AppwriteException: general_bad_request There was an error processing your request. Please check the inputs and try again. (400)
However:
✅ If I first create a regular email/password account and then try to create another email/password account with the same email, I correctly receive a 409 user_already_exists error.
❓ Question:
Why am I getting a 400 Bad Request instead of a 409 user_already_exists when the email is already registered via OAuth?
Is this expected behavior or a bug?
⚙️ Environment:
• Appwrite: 1.6.1 (self-hosted)
• SDK: Flutter 15.0.0
Thanks in advance for your help! 🙌