Uncaught Error after calling a Custom Action

Actions & Logic

This has been bugging me for days...

I have a custom action that I call to get list of records in a collection. So it is expected that it should be able to handle no records found. However, it encounters an 'Uncaught' Error instead.

I tried several approaches, Up to a point that I dropped that custom action and just use a Backed Firestore collection query.. Surprisingly the same output... ChatGPT surrendered also...

For the custom Action, During my debugging, I simplified the custom action by just returning false.. still Uncaught error is encountered...

Anyhelp will do..

What have you tried so far?

The objective is to call a custom action that reads a collection and returns those that matches the condition (all records with eventId equal to the eventId passed)...Problem persists..

up to the point that I have to simplify the custom action to just return false...

Still the same...

So I tried to use the Query collection...still the same...

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