Functions on 1.6.0 return wrong datatype from the appwrite sdk
- 0
- Self Hosted
- Flutter
- Functions
- Auth

I use the dart-3.3 runtime for my functions and the dart_appwrite (v12.1.0) package for some user changes. So when I for example use _users.create('foo@foo.com')
I get the exception that String is not a subtype of type Map<String,dynamic>
where the sdk trys to use User.fromMap(req.data)
... it worked in 1.5.11 so is there a migration error or do I need to change some settings?

code
var user = await users.create(
userId: userId,
email: payload['email'],
name: payload['name'],
);

error
type 'String' is not a subtype of type 'Map<String, dynamic>'
#0 Users.create (package:dart_appwrite/services/users.dart:55)
<asynchronous suspension>
Recommended threads
- Error 1.7.4 console team no found
In console when i go to auth, select user, select a membership the url not work. Only work searching the team. It is by the region. project-default- and i get ...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- functions of 1.4 not work on 1.7
Hi, i updated of 1.4 to 1.7 but the function not work i get it error. Do I need to build and deploy the functions again?
