Skip to content

filter.invalid

HTTP 422 Invalid filter

A filter (in a request, or a data product’s segment) uses an unknown field, an operator the field doesn’t support, or a value of the wrong type. errors[] lists each problem with its path.

Fix each item in errors[]. GET /v1/fields lists the fields and the operators each accepts.

Sending the same request again gives the same answer until the cause is fixed.

  • HTTP status: 422 Unprocessable Content
  • Where you can meet it: Customer API (/v1)
  • Code: filter.invalid (stable: match on the code, not on the title or detail text)
{
"type": "https://docs.zemodata.com/errors/filter.invalid",
"title": "Invalid filter",
"status": 422,
"code": "filter.invalid",
"detail": "…",
"request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
"errors": []
}

See Errors for how problem responses work, and all error codes.