My query is Query.contains('\$permissions', 'read("user:$userId")')
Using dart_appwrite 11.0.3
In a cloud function.
I get the above error. How to fix?
Thank you
TL;DR
Query is throwing an error for attribute $permissions in schema. To fix this, ensure that the attribute $permissions is correctly defined in the schema.