Back

Attribute not found in schema: $permissions

  • 0
  • Flutter
  • Functions
  • Cloud
d_honig
4 Jun, 2024, 14:42

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.
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