Querying list of documents from a collection returns nothing

Database & APIs

Hey, I have been using FlutterFlow and have gotten the hang of how to build basic pages.

On my first project I built a list view populated by documents queried from a firestore collection and it worked fine.

Now on a second project I am trying to do the same thing again but for some reason keep getting empty results

This first image shows how I built my list. I made two separate queries. One that just fetches the Count of the collection (called wallets) and displays that number everywhere

Then I do a query to get the actual documents that are in that collection and display a field called name:

This is what I get when I run in test mode, indeed there are 17 entries in the Collection but for the name in the field it just shows the default value string which means it cannot find anything

I tried another query where I display the item count from the Collection query and it gives me zero

So when I run the collection count query it finds the 17 documents inside that collection and returns the right count, but when I try to actually query all the documents in the collection it keeps turning up nothing

The only thing I can think of is that the document ID's are custom and not the ones generated by Firebase maybe that makes it so that it cannot read them properly?

What have you tried so far?

The only thing I can think of is that the document ID's are custom and not the ones generated by Firebase maybe that makes it so that it cannot read them properly?
I also opened up my firebase access settings to be less restrictive but that changes nothing

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