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
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...
- Active Running Project Deletion Alert Em...
Hi , I received an email alert from Appwrite today stating “your project will be deleted within 14 days if no action is taken,” though I have been actively usin...
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...