Error reference

unknown_metric

HTTP status
422 Unprocessable Content
Returned by
Analytics

What it means

The request cannot be processed as sent. The API explains it as: “This metric can't rank the team.”

How to fix it

Read the message: it says what to change. If it does not help, contact support with the request_id.

Messages

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

  • This metric can't rank the team.
    RU: По этому показателю нельзя составить рейтинг команды.
    UZ: Bu koʻrsatkich boʻyicha jamoa reytingini tuzib boʻlmaydi.
  • This metric has no lead drill-down.
    RU: Для этой метрики нет списка сделок.
    UZ: Bu koʻrsatkich uchun bitimlar roʻyxati yoʻq.
  • Unknown metric.
    RU: Неизвестная метрика.
    UZ: Nomaʼlum koʻrsatkich.

Example response

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

{
  "error": {
    "code": "unknown_metric",
    "message": "This metric can't rank the team.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/unknown_metric"
  }
}

All error codes · The error format