[SOLVED] TypeError (type 'List<dynamic>' is not a subtype of type 'List<String>')
- 0
- Resolved
- Flutter
- Cloud
am getting this error on all sdk functions, from account.get onwards
Initialize the account class first, the use it.
const account = new Account(client);
const res = await account.get();
same issue
and its happening to Databases(client).listDocuments
what is .timeout
timeout is the timeout of the function to 59 seconds
If you use exactly what is in the docs, does it not work?
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Account account = Account(client);
User result = await account.get();
it worked thanks
Thanks :)
[SOLVED] TypeError (type 'List<dynamic>' is not a subtype of type 'List<String>')
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Confused about Appwrite Pro pricing
Hi. I've been subscribed to the $25 Appwrite Pro plan, but I've been getting charged $40. I have two projects on my account. I was wondering where exactly the e...
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...