
π 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
- Suggest simple auth flow using just a cu...
Hi...i wanted to know how can we create a auth session using custom id and password. I can give each teacher and student some specific id and corresponding to ...
- Updating console to 1.8
Hey! Does anyone know how to update the appwrite console only? I am using console 1.7.4 but it has UI/UX issues π
- Having errors migrating to cloud
Project will not migrate compeltely
