[SOLVED] TypeError (type 'List<dynamic>' is not a subtype of type 'List<String>')
- 0
- 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
- Timed out waiting for runtime. Error Cod...
After setting up my ML project that uses deepface and tensorflow in appwrite functions I get the `Timed out waiting for runtime. Error Code: 400. ` error. I am...
- Error with realtime channels
I'm performing a subscription to realtime channels, and after a few seconds I get an exception with this error: {\"type\":\"error\",\"data\":{\"code\":1008,\"me...
- Bug: Cloud Function On Schedule Didn't R...
Heya I have a cloud function with this cron `0 17 * * *` to run at 9AM PT every day. I have not touched this since I set it up, and it has been working fine s...