Skip to content
Back

RowList: The value of total is coming as a String, so it throws an error because it’s not parsed

  • 0
  • Databases
  • Flutter
  • Cloud
Aaruul
22 Apr, 2026, 00:29

RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int.

Error: TypeError: 37: type 'String' is not a subtype of type 'int' appwrite: 23.1.0

TL;DR
The 'total' value in RowList is a String, causing a type error. Removing the 'ttl' parameter from listRows resolves the issue.
Aaruul
22 Apr, 2026, 00:41

Removing the ttl parameter from the listRows function fixed the issue.

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