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
- OAuth fails with Invalid Response or inv...
Im currently trying to use the Discord Oauth but i cant find a way to make it work. I followed the docs and set up the discord oauth application and enabled it...
- Functions in Golang - I need help
Hi guys! I am struggling to deploy a rather simple golang function. The deployment log details are very sparse: "failed error code: 524 " or: "Cannot access ...
- Ability to mark user as "Verified" when ...
Iām using Google Sign-In in my bare React-native app and verifying the user's email through Google OAuth. After verifying the token server-side, I create the us...
