triggair
Error code

segment_definition_invalid (422)

What it means

A segment's rule tree failed validation — an unknown predicate/operator, a bad value type, or too deep/large a tree.

How to fix

Read the message: it names the problem. Use predicates stat/achievement/daily_streak/days_since_created/has_handle/in_segment combined with all/any/not; operators >= > <= < == !=. Fix the definition; do NOT retry the same body.

← All error codes