[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
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...