Hey! I just migrated to the new TablesDB system, and there seems to be a problem with the lib. When requesting a row, I get
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: type 'String' is not a subtype of type 'int'
#0 new Row.fromMap (package:appwrite/src/models/row.dart:42:21)
row.dart:42
#1 TablesDB.getRow (package:appwrite/services/tables_db.dart:90:23)
tables_db.dart:9
This can get fixed by temporary editing the row.dart file and wrapping the $sequence argument with int.parse, but it suggests that the API doesn't send the right type in the json.
I just checked and the same problem applies in the dart sdk
Recommended threads
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...