Error reference

invalid_id_type

HTTP status
400 Bad Request
Returned by
API keys; Webhooks

What it means

The id in the path has the wrong prefix for this endpoint.

Typical causes

  • For example a hook_… id sent to an API keys endpoint that expects key_….

How to fix it

Messages

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

  • Expected a delivery id (dlv_…).
  • Expected a webhook id (hook_…).
  • Expected an API key id (key_…).

Example response

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

{
  "error": {
    "code": "invalid_id_type",
    "message": "Expected a delivery id (dlv_…).",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/invalid_id_type"
  }
}

All error codes · The error format