👋 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
- Help with nameservers
I just added our domain, and as per instruction in the page following, it says, "Add the following nameservers on your DNS provider. ..." I want to keep my cu...
- Issue with google and apple oauth in Flu...
My Flutter application is logging in and out with email and password successfully, but I’m having trouble with Google and Apple OAuth login and signup. Here’s...
- Clean 1.9.0 install, trying to access Ap...
I've been using Appwrite cloud for several months now, it's great and I love it. Doing some local testing so I setup a new Docker image on a Mini PC. Install fa...