Skip to content
Back

Confusion with Appwrite Events

  • 0
  • Cloud
Lucas
24 Aug, 2025, 00:46

Hello Appwrite Team,

When I was creating a function that would run on a Appwrite Event, I was confused with the syntax.

When adding an attribute to target inside of my document, the cloud interface prompts "attribute", and my though was "ok, I can target and attribute that updates".

Then when I attempted to update it, I got this error:

Invalid events param: Value must a valid array no longer than 100 items and Event is not valid.

It works fine when I omit the attribute and just leave it at the action level.

My question is that is there a way to target attributes with Appwrite events?

TL;DR
There seems to be confusion regarding targeting attributes with Appwrite Events. The error indicates that only document-level events can be triggered (update, delete, create) and targeting specific attributes is not supported.
Steven
24 Aug, 2025, 00:57

Sorry events are only down to documents. And you can trigger on document update, delete, or create

Steven
24 Aug, 2025, 00:58
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