π 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! π
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error