Back

Users mismatch parameter type

  • 0
  • Self Hosted
  • Flutter
  • Functions
trashcoder
26 Apr, 2024, 05:09

While coding a dart function in method listIdentites of class Users the queries parameter is type String?. After deployment i get an error: "AppwriteException: general_argument_invalid, Invalid queries param: Queries must be an array (400)". There must be a mismatch between resolving the sdk packages. In pubspec the dependencies are: dart_appwrite: 10.1.1

TL;DR
Developers are experiencing an error due to a mismatch in the parameter type for a Dart function in the Users class, where queries should be an array but is defined as String?. To resolve, ensure the correct version of the dart_appwrite package is used.
trashcoder
26 Apr, 2024, 05:09

Server is 1.4.14

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more