[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: AppwriteException: general_argument_invalid, Param "email" is not optional. (400)
E/flutter ( 4892): #0 ClientMixin.prepareResponse (package:appwrite/src/client_mixin.dart:90:9) final token = await account.createPhoneToken(
userId: ID.unique(),
phone: phone
);
print(token); createPhoneToken() method why email ? #2 updatePhoneSession is outdated ? any option to replace
Maybe you're already logged in
<@462046107556511744> can you please explain more, what does loggedin mean? I am running appwrite in my docker older version, but i am using for flutter latest version appwrite: ^20.0.0
i am using appwrite v1.2.1, in local self host for now
you cannot use a new SDK against an old version of Appwrite. look at the readme of the SDK
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...