Error reference

too_many_conditions

HTTP status
422 Unprocessable Content
Returned by
Filters, saved views and segments

What it means

A filter has more conditions than allowed.

Typical causes

  • A generated filter with a condition per value.

How to fix it

  • Use an in condition with a list of values instead of many eq conditions, or split the query.

Message

English text, as sent with Accept-Language: en. With ru or uz the API sends the translation.

  • A filter can have at most … conditions.
    RU: В фильтре может быть не более … условий.
    UZ: Filtrda koʻpi bilan … ta shart boʻlishi mumkin.

Example response

Response
HTTP/1.1 422 Unprocessable Content
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55

{
  "error": {
    "code": "too_many_conditions",
    "message": "A filter can have at most … conditions.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/too_many_conditions",
    "limit": 50
  }
}

All error codes · The error format