
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
- Getting Error On self host SSL update
Hi, I am using app write for my app backend version i am using is 1.6.2 yesterday my ssl is expired and now i am not able to renew it because of it my app is no...
- Cannot load nested relationships
When trying to load a nested relationship using the below query I get this error: ```Invalid query: Attribute not found in schema: *``` ```dart try { fina...
- User management question
What is the best way to keep a user signed in between app restarts while having sessions expire every hour and beign refreshed? I try to call account.get() but ...
