Skip to content
Init is coming / May 19 - 23
Back

Document Data is null.

  • 0
  • Android
  • Flutter
  • Databases
  • Apple
Lazaroo
9 May, 2025, 04:15

I'm using flutter and I've just got everything set up, the document meta data is null but the actual query is fine. (see screenshot)

The permission I have are Guest - Read, User - Read, Write, Update

Query:

return databases.listDocuments( databaseId: _db, collectionId: _incidentsCollection, queries: [ Query.select(['name']), Query.equal('active', true) ], );

I'm not sure where I'm going wrong - this seems like such a simple thing.

Thanks!

TL;DR
Issue with Flutter set up - document meta data is null but query is fine. Permissions are set. Query code provided. Difficulty troubleshooting. Solution: Check if the document data is properly fetched. Verify database connection and permissions set correctly. Double-check query logic to ensure it retrieves the expected data.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more