Catching Errors / Exceptions in Firestore Backend Queries

Database & APIs

Is there a way to handle exceptions or errors generated when u execute a query for ex: If you set a filter or query on a particular field & nothing matches then query returns null i Guess. When this happens the Red screen of death is shown on the screen , without knowing what went wrong.

Something like what this developer has described in this link: https://community.flutterflow.io/general-wishlist/post/backend-query-error-widget-D1uTX44lsm8GYhp

Screenshot attached you can see that i am trying stripe_subscription_status =='canceled' , however when no documents match in the collection i am shown a error on the screen.

What have you tried so far?

nothing since there is no way to catch exceptions or errors generated by backend query

Did you check FlutterFlow's Documentation for this topic?
No
4 replies