π 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
- Migration from cloud to self-hosted fail...
Hi! I'm trying to migrate a small project from the cloud to a self hosted instance to play around but without any success! The migration process fails with the ...
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- Sites Runtimes 1.8.0 Self-Hosting. Flutt...
I have a problem with the Flutter version for SITES RUNTIMES. I use self-hosting and updated to version 1.8.0, which according to the changelog says they updat...