[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
- Frequent 500 Internal Server Errors - Pr...
PROJECT ID: 6951f2xxxxx1ee9e750a REGION: Singapore (sgp.cloud.appwrite.io) PLAN: Pro Our production application experiences **500 Internal Server Errors** mult...
- Issue with Custom SMTP
Hey everyone, I'm facing an issue when updating my Custom SMTP settings on Appwrite Cloud. The UI fails silently (no visual errors), but when checking the cons...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...