---
title: "invalid_order_status — order status does not allow this"
url: https://lumean.app/es/developers/docs/errors/invalid-order-status
locale: es
description: "No chunks were queued. Bulk retry `POST /orders/{order}/items/retry-failed` returned 422 `{\"success\": false, \"message\": \"…\", \"reason\": \"invalid_order_status\"}`. Cancelling an order (`POST /orders/{order}/cancel`) and retrying an order (`POST /orders/{order}/retry`) return the same `reason` with code 400."
generated: 2026-12-02
---

# invalid_order_status — order status does not allow this

- HTTP: `422`

- `reason`: `invalid_order_status`

- Encabezado `Retry-After`: no

## Qué pasó

No chunks were queued. Bulk retry `POST /orders/{order}/items/retry-failed` returned 422 `{"success": false, "message": "…", "reason": "invalid_order_status"}`. Cancelling an order (`POST /orders/{order}/cancel`) and retrying an order (`POST /orders/{order}/retry`) return the same `reason` with code 400.

## Por qué

Bulk retry accepts an order only in the `partially_completed` status. `completed` and `result_delivered` have nothing to retry. `failed`, `cancelled`, and `compensated` have no held amount left. Orders in `created`, `pending`, and `in_progress` are still running and have no result yet. Cancellation accepts orders in `created`, `pending`, and `partially_completed`. Order retry accepts `completed` and `result_delivered`.

## Qué hacer

Check the order status before the call. Other bulk retry refusals differ by `reason`. 409 `stitch_in_progress` means the order is being stitched: wait and retry. 422 `generative_not_supported` means the task has no chunk retry, as with `sfx` and `music`. 422 `nothing_to_retry` means there are no failed chunks.

## Siguiente petición

`GET /orders/{order}` returns the current `status`. If the order is already `completed` but you are not happy with the result, use `POST /orders/{order}/retry`. It creates a new order with the same parameters and is billed again.

## Relacionado

- [Guide: the asynchronous order model](https://lumean.app/es/developers/docs/guide/async)
- [Guide: retries and idempotency](https://lumean.app/es/developers/docs/guide/retries)
- [POST /orders/{order}/items/retry-failed](https://lumean.app/es/developers/docs/api/post-orders-order-items-retry-failed)
- [GET /orders/{order}](https://lumean.app/es/developers/docs/api/get-orders-order)
- [POST /orders/{order}/retry](https://lumean.app/es/developers/docs/api/post-orders-order-retry)

---

- Esta página en el navegador: https://lumean.app/es/developers/docs/errors/invalid-order-status
- Referencia completa legible por máquina: https://api.lumean.app/docs/llm.md
