Errors
invalid_criteria
400 — The People or Journeys filter criteria were unsupported or malformed
What happened
A filter you passed to People or Journeys is not one those endpoints accept, or its value is not allowed.
Why it usually happens
People and
Journeys share one criteria vocabulary, bounded
by the columns of the people view: created_via, origin_detail,
first_touch_channel, first_touch_source, paid, has_email,
current_plan. Anything outside that set is rejected at the boundary rather than
being silently ignored. You will get this error when:
- a filter key is not one of the seven criteria above
paidorhas_emailis not exactlytrueorfalsecreated_viais not one ofstripe,form,eventsfirst_touch_channelis outside the nine channel buckets- a Journeys group call omits
from/to— the event window is required, because it is the only predicate that bounds the scan
Filtering on arbitrary product-event traits is not available on these endpoints.
How to fix
- Drop the unknown key, correct the value, or supply
fromandto. - Read
paramon the error — it names the criteria key that was rejected.
Envelope
{
"error": {
"code": "invalid_criteria",
"message": "Invalid criteria for 'people': trait — unknown criteria key; supported: created_via, origin_detail, first_touch_source, paid, has_email, first_touch_channel, current_plan.",
"param": "trait",
"doc_url": "https://docs.fullvision.io/errors/invalid_criteria",
"trace_id": "tr_01HXYZ..."
}
}