last_owner
- HTTP status
- 409 Conflict
- Returned by
- Members and invites
What it means
The request conflicts with the current state. The API explains it as: “A workspace needs at least one owner. Make someone else an owner first.”
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.
- A workspace needs at least one owner. Make someone else an owner first.
RU: В пространстве должен быть хотя бы один владелец. Сначала назначьте владельцем кого-то другого.
UZ: Ish joyida kamida bitta egasi boʻlishi kerak. Avval boshqa kishini egasi qilib tayinlang. - You can't deactivate the only owner.
RU: Нельзя отключить единственного владельца.
UZ: Yagona egani faolsizlantirib boʻlmaydi.
Example response
Response
HTTP/1.1 409 Conflict
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
{
"error": {
"code": "last_owner",
"message": "A workspace needs at least one owner. Make someone else an owner first.",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://developers.kweko.uz/errors/last_owner"
}
}