stage_required
- HTTP status
- 409 Conflict
- Returned by
- Leads, contacts, companies, pipelines, fields and products
What it means
The request conflicts with the current state. The API explains it as: “A pipeline keeps at least one lost stage, so its last one can't be deleted.”
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 pipeline keeps at least one lost stage, so its last one can't be deleted.
RU: В воронке должен остаться хотя бы один этап проигрыша, поэтому последний удалить нельзя.
UZ: Voronkada kamida bitta yoʻqotilgan bosqich qolishi kerak, shuning uchun oxirgisini oʻchira olmaysiz. - A pipeline keeps at least one open stage, so its last one can't be deleted.
RU: В воронке должен остаться хотя бы один рабочий этап, поэтому последний удалить нельзя.
UZ: Voronkada kamida bitta ish bosqichi qolishi kerak, shuning uchun oxirgisini oʻchira olmaysiz. - A pipeline keeps at least one won stage, so its last one can't be deleted.
RU: В воронке должен остаться хотя бы один успешный этап, поэтому последний удалить нельзя.
UZ: Voronkada kamida bitta yutilgan bosqich qolishi kerak, shuning uchun oxirgisini oʻchira olmaysiz. - The incoming stage can't be deleted: every pipeline has one.
RU: Этап «Входящие» удалить нельзя: он есть в каждой воронке.
UZ: Kiruvchi bosqichni oʻchira olmaysiz: u har bir voronkada bor.
Example response
Response
HTTP/1.1 409 Conflict
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
{
"error": {
"code": "stage_required",
"message": "A pipeline keeps at least one lost stage, so its last one can't be deleted.",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://docs.kweko.uz/errors/stage_required"
}
}