IDK what the issue is but I am stuck at a weried but that I am calling this function
Future<List<CategoryModel>> getCategories() async {
try {
final response = await _tables.listRows(
databaseId: databaseId,
tableId: collectionId,
);
print('One category document: ${response.rows[1].data}');
final categories = response.rows
.map((row) => CategoryModel.fromJson(_rowPayload(row)))
.toList();
// Update cache
for (var category in categories) {
await CacheService.cacheCategory(category);
}
return categories;
} catch (e) {
// Fallback to cache if network fails
try {
return CacheService.getCachedCategories();
} catch (_) {
rethrow;
}
}
}
and this a very basic function calling
and the problem is that on the debug console I am getting this logs
I/flutter (12085): Category list: 25
I/flutter (12085): One category document: {}
It means that I am getting 25 list of documents but I am not getting any data
devpolymer is the ID of my project
I have checked the permissions as well they are correct
I/flutter (12085): One Category list: 25
I/flutter (12085): One Document ID: 6a17215660718b8bffec
I/flutter (12085): One Full Document Map: {$id: 6a17215660718b8bffec, $sequence: 2, $tableId: category, $databaseId: modules, $createdAt: 2026-05-27T16:52:38.990+00:00, $updatedAt: 2026-05-27T16:52:38.990+00:00, $permissions: [read("user:6933ed8f0029d92e799b"), update("user:6933ed8f0029d92e799b"), delete("user:6933ed8f0029d92e799b")], data: {}}
See no data is coming
<@564158268319203348>
can you please take a look into that please.
and sorry for tagging directly to you but this is kinda urgent I guess
I have pinged relevant engineering team members to take a look
Can you check please if you have an index on array attribute?
In case you have please delete the index and check the list again
In that collection there is no array
Thanks.
- Can you shared please you projectId/databaseId/collectionId will check deeper
- While using the console do you see list with data?
https://cloud.appwrite.io/console/project-sgp-devpolymer/databases/database-modules/table-category
this is the URL
And yes I see data as well
<@960437389841530891>
Permission and data is there
Are yo using flutter SDK? If you see data ok in the console might be a bug else where
Yes I am using flutter sdk.
I have tried other version of Appwrite sdk just to be sure but still facing the same issue
Thanks .. Just to be sure it is not a cache issue I cleaned cache. Can you try again please
Are you using the latest flutter SDK? If yes, Can you downgrade the version and check once
I have tried downgrading it doesn’t work
Yes I have cleaned the cache of the phone and of my laptop as well.
Can you share the request please? I am able to get results for a simple request here , would like to see the queries passed, perhaps more data that can help our team to debug
curl -s 'https://sgp.cloud.appwrite.io/v1/databases/modules/collections/category/documents' \
-H 'x-appwrite-project: devpolymer'
Not at the desk right now will share soon
Yes I am getting the data through the curl command but I can't get the data through the appwrite flutter sdk
https://discord.com/channels/564160730845151244/1509376800138989628
I guess there is one more ticket regarding to this
Recommended threads
- Backup policies think im on free tier
Cant create more than one policy as im told to ugprade, when clicking upgrade im taken to the upgrade page which confirms im already on pro
- Cant get rid of "get started"
Not that important, but annoying. No matter what I do I cant get the "Get started" to go away, ive added a bunch of web platforms and its just stuck.
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...