Skip to content
Back

email already exists error not showing

  • 1
  • Flutter
satyam1mishra
18 Sep, 2023, 17:31
TypeScript
``` pls check and help me to get the error i have a basic layout to validate the user with email address.
TL;DR
The user is not seeing an error message when trying to create an account with an email that already exists. They are asking for help on how to handle the error. The user also mentioned that the code for creating the account does not handle any errors. The user wonders if the debug console shows any exceptions, but it doesn't. They shared their code and asked for assistance in identifying the issue and displaying the error message.
Drake
18 Sep, 2023, 17:37

account.create() should throw an exception if a user with the same email already exists. are you not seeing that?

satyam1mishra
18 Sep, 2023, 17:39

no actually its not throwing any exception?

safwan
18 Sep, 2023, 17:49

even in the debug console?

safwan
18 Sep, 2023, 17:49

from your code for creating the account, it doesn't look like you're handling any errors.

satyam1mishra
19 Sep, 2023, 01:20

how do i handle error ?

Drake
19 Sep, 2023, 01:43

Catch the error and then do something with it

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more