Error reference

read_only

HTTP status
402 Payment Required
Returned by
Plans, limits and restrictions

What it means

The workspace is read-only because its subscription is unpaid. Reads and exports still work; every write (POST, PUT, PATCH, DELETE) is refused with 402.

Typical causes

  • An invoice for the workspace's subscription is overdue.

How to fix it

  • Nothing to change in your code: writes work again as soon as the subscription is paid. Queue writes and retry later, or tell the workspace owner.

Message

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

  • Your workspace is read-only until the subscription is paid. You can still view and export.
    RU: Пока подписка не оплачена, пространство доступно только для чтения. Просмотр и экспорт работают.
    UZ: Obuna toʻlanmaguncha ish joyi faqat oʻqish rejimida. Koʻrish va eksport qilish ishlaydi.

Example response

Response
HTTP/1.1 402 Payment Required
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55

{
  "error": {
    "code": "read_only",
    "message": "Your workspace is read-only until the subscription is paid. You can still view and export.",
    "request_id": "req_4f2a9c1e0b7d3a55",
    "docs_url": "https://developers.kweko.uz/errors/read_only"
  }
}

All error codes · The error format