Back

type 'Null' is not a subtype of type 'bool'

  • 1
  • Self Hosted
  • Auth
  • Flutter
kamal.panara
8 Jan, 2025, 16:47

Flutter Appwrite Package is throwing this error when trying to get currently logged-in user.

I'm using Appwrite v1.6.0 self hosted and Flutter's Appwrite SDK v13.1.1

please help, something is wrong with SDK, error is coming from SDK.

TL;DR
The Flutter Appwrite Package is showing an error "type 'Null' is not a subtype of type 'bool'" when trying to access the currently logged-in user. This issue is related to the Appwrite SDK v13.1.1. A developer has reported this bug on GitHub.
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