
π 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
- Storage permission issues with Ionic/Ang...
Hello, I use Ionic/Angular with Appwrite to run a PWA. I use Appwrite Auth, Database, Function and Storage, and everything runs fine. If I build an Androi...
- AppwriteException: team_not_found, Team ...
While trying to fetch team data or membership data using teams.get(id...) or teams.listMemberships it showing an error :Exception has occurred. AppwriteExceptio...
- Google login redirect error in auth.js a...
Hello people, I need urgent help. It's like this I'm using auth.js to authenticate my site and using Google to log in, when I click to log in with Google it red...
