Read document by reference not working on Custom Action(function .getDocumentOnce(""))

Database & APIs

I have a problem on reading user documents using custom action, the error that the console said is that the value is null, but is not beacuse using print(userId); it prints correctly the document reference. This error is shown from the last update, have you any suggestion? The firebase rules for users I setted on read "EveryOne" but nothing changes.

What have you tried so far?
Did you check FlutterFlow's Documentation for this topic?
Yes
1
1 reply