Back

Account.create Exception. User is created but throw an exception type 'Null' is not a subtype...

  • 0
  • Flutter
  • Auth
Wind
15 Mar, 2024, 22:34

Hello, The exception is: _TypeError (type 'Null' is not a subtype of type 'bool'

The user is created, but throw this exception. Why?

Any idea?

TL;DR
Developers are encountering a _TypeError exception stating that 'Null' is not a subtype of 'bool' while creating a user account. The user is successfully created despite the exception. This issue may be due to a mismatch in data types. Double-check the data being passed and ensure the correct types are used.
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