Not getting Documents from Collection when firestore documents are generated outside of flutterflow.

Database & APIs

I have a collection called events, and that has 5 documents inside it. 2 of these events were generated via a java spring app.

When i do a simple query to get every document in the events collection in flutter, only the events created in the flutter flow app show (so in this case Events starting with PAh... and XUJ...)

img1 - simple query to get the full list of documents - no filter or ordering or any of the toggles below are on.

Img2 - 5 events in firebase - PAh... and XUJ... were created in flutterflow app. j70...manual2 was created manually in firestoredb with random fields and trash data. XpA... and iyw... were created in java and it is these documents that don't appear when queried.

img3 - as you can see using the UI query i can only retrieve the 3 documents. Where as running a custom code query, returns back all the events.

img4 - the query which seems to return back every document in events

What have you tried so far?

The generated events seem to have identical fields.

I made a fake document manually from firestore and that seems to work. so it cant be a field mapping issue.

Iv checked the firestore rules and they seem to be fine. (screenshot attached)

I created a separate count query which simply counts the documents in the collection and that returns 5.

Where as counting whats returned in the first query returns 3.

I don't understand why if i were to count it returns 5 (correctly), but if i retrieve all documents and then count its 3

Did you check FlutterFlow's Documentation for this topic?
Yes
2