I am trying to minimize the data fetched from DB to only what's required. When I add Query. Select to the mix the list documents gives the below error :/
I know its the select query because when I remove it the solution works again
Query.select(['fileId']);
Running self hosted 1.4.5 with Appwrite SDK 11
TL;DR
Flutter SDK database Select query causes error. There is an open issue on GitHub related to this (issue #6158). Until it's fixed, you need to manually include system attributes as part of the select query. The error occurs when using Query.select(['fileId']). Running self-hosted 1.4.5 with Appwrite SDK 11.