Error reference

gone

HTTP status
410 Gone
Returned by
Leads, contacts, companies, pipelines, fields and products; Import and export

What it means

The record was deleted. Deleted leads, contacts and companies can still be restored for a while; deleted_at says when it was deleted.

Typical causes

  • Someone deleted the record in Kweko or through the API.

How to fix it

  • Restore it with POST /v1/leads/{id}/restore (or the contacts and companies equivalents) if you have the write scope, or stop referencing it.

Messages

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

  • The uploaded file has expired. Upload it again.
    RU: Загруженный файл устарел. Загрузите его снова.
    UZ: Yuklangan faylning muddati oʻtdi. Uni qayta yuklang.
  • This record was deleted.
    RU: Эта запись удалена.
    UZ: Bu yozuv oʻchirilgan.

Example response

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

{
  "error": {
    "code": "gone",
    "message": "This record was deleted.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/gone",
    "deleted_at": "2026-09-20T14:03:11.52Z"
  }
}

All error codes · The error format