
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
- Flutter Google Auth (Access blocked: Thi...
It is working fine on web platform, but on Flutter I'm getting this error. Any option to fix, or this issue with AppWrite and need to use different option? Ac...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
- Error sending push message from dashboar...
I am trying to implement appwrite fully into my app and am switching over from firebase. I registered FCM as a Provider and tried to send a push message via the...
