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
Recommended threads
- Problem with the new Email policies
when user set those thing from cloud panel and when they open that page again or reload that time it forget what we have checked and it set default to false on ...
- Deleted my account, trying to signup aga...
https://cloud.appwrite.io/console/login?error=%7B%22message%22%3A%22This+email+address+must+already+be+in+its+canonical+form.+Please+remove+aliases%2C+tags%2C+o...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...