E/flutter (22465): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'List<dynamic>' E/flutter (22465): #0 new User.fromMap (package:appwrite/src/models/user.dart:87:18) E/flutter (22465): #1 Account.create (package:appwrite/services/account.dart:55:24) E/flutter (22465): <asynchronous suspension>
What could be the possible cause for this error...?
Could you share the code used for this?
Also, what version of Appwrite and what version of the flutter SDK
environment: sdk: '>=3.1.0 <4.0.0'
appwrite: ^11.0.0
Appwrite: Version 1.3.8
on Digital Ocean
Hi guys... coming from firebase using appwrite for first time.... trying to setup email authentication..... just using code from appwrite demo todo app....
That version of the SDK is meant for Appwrite 1.4. Please downgrade and look at the readme to see what version of Appwrite the SDK is for
Thank you Steven..... that makes sense.... will downgrade and chk
Dowgraded to version 9.0.0 its working now without errors😊 Thamks a lot
[SOLVED] account.create throws error
Recommended threads
- Unknown column 'sourceSize' in 'field li...
After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: `appwrite-worker-stats-resources | 2025-10-26T10:32:38.289577112Z Failed: SQLSTATE[...
- Invalid document structure: Missing requ...
After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: appwrite-worker-audits | 2025-10-26T11:15:24.062537020Z Error processing a...
- New attribute stuck on processing?
I was running out of disk space and after creating an attribute and restarting my appwrite (self hosted) I have an attribute stuck on creation. Any way to remov...