Greetings,
I am testing the account api inside a flutter web app and an android app. When I try to create a user with an existing email, i get an AppwriteException (correct behaviour).
Problem is the only field populated in the exception is message, and all the other fields are null.
The message is an html string that shows the correct code and error message (409, A user with the same id, email, or phone already exists in this project)
I am using the latest flutter, appwrite sdk, and appwrite server
My understanding of the documentation is I should get a fully populated AppwriteException as per client_mixin.dart line 73.
That is weird...what version of Appwrite?
Appwrite 1.4.1, sdk 9 and 10
Interesting...I'll need to test this.
That's weird..it seems to work for me:
are you able to check the request headers in the browser network logs?
is that domain you're using the main domain (_APP_DOMAIN) or a custom domain?
A custom domain.
I'll check the headers when I get in in a couple of hours
ah i was able to reproduce with a custom domain
would you be able to create an issue?
Sure!
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...