---
title: "Errores y códigos"
url: https://lumean.app/es/developers/docs/errors
locale: es
description: "Códigos HTTP y valores `reason` explicados: qué pasó, por qué y qué hacer a continuación."
generated: 2026-12-02
---

# Errores y códigos

Códigos HTTP y valores `reason` explicados: qué pasó, por qué y qué hacer a continuación.

| HTTP | reason | Título | Encabezado `Retry-After` | Página |
| --- | --- | --- | --- | --- |
| 401 | — | 401 — key rejected | no | [401](https://lumean.app/es/developers/docs/md/errors/401) |
| 402 | — | 402 — payment required | no | [402](https://lumean.app/es/developers/docs/md/errors/402) |
| 403 | — | 403 — access denied | no | [403](https://lumean.app/es/developers/docs/md/errors/403) |
| 404 | — | 404 — resource not found | no | [404](https://lumean.app/es/developers/docs/md/errors/404) |
| 409 | — | 409 — state conflict | no | [409](https://lumean.app/es/developers/docs/md/errors/409) |
| 422 | — | 422 — request not accepted | no | [422](https://lumean.app/es/developers/docs/md/errors/422) |
| 429 | — | 429 — limit exceeded | a veces | [429](https://lumean.app/es/developers/docs/md/errors/429) |
| 402 | `payg_topup_required` | payg_topup_required — top-up confirmation required | no | [payg-topup-required](https://lumean.app/es/developers/docs/md/errors/payg-topup-required) |
| 409 | `quote_mismatch` | quote_mismatch — top-up price changed | no | [quote-mismatch](https://lumean.app/es/developers/docs/md/errors/quote-mismatch) |
| 402 | `insufficient_balance` | insufficient_balance — not enough LMC | no | [insufficient-balance](https://lumean.app/es/developers/docs/md/errors/insufficient-balance) |
| 402 | `insufficient_allowance` | insufficient_allowance — paying beyond the quota is disabled | no | [insufficient-allowance](https://lumean.app/es/developers/docs/md/errors/insufficient-allowance) |
| 429 | `rate_limit_exceeded` | rate_limit_exceeded — key request rate exceeded | sí | [rate-limit-exceeded](https://lumean.app/es/developers/docs/md/errors/rate-limit-exceeded) |
| 429 | `token_quota_exceeded` | token_quota_exceeded — key token quota used up | sí | [token-quota-exceeded](https://lumean.app/es/developers/docs/md/errors/token-quota-exceeded) |
| 429 | `limit_exceeded` | limit_exceeded — subscription limit used up | no | [limit-exceeded](https://lumean.app/es/developers/docs/md/errors/limit-exceeded) |
| 429 | `concurrency_limit_exceeded` | concurrency_limit_exceeded — concurrent order limit reached | no | [concurrency-limit-exceeded](https://lumean.app/es/developers/docs/md/errors/concurrency-limit-exceeded) |
| 429 | `policy_cooldown_active` | policy_cooldown_active — order creation paused | sí | [policy-cooldown-active](https://lumean.app/es/developers/docs/md/errors/policy-cooldown-active) |
| 422 | `content_blocked` | content_blocked — text fragment is blocked | no | [content-blocked](https://lumean.app/es/developers/docs/md/errors/content-blocked) |
| 422 | `text_empty` | text_empty — nothing to voice in the text | no | [text-empty](https://lumean.app/es/developers/docs/md/errors/text-empty) |
| 202 | `policy_flagged` | policy_flagged — chunk rejected by the content policy | no | [policy-flagged](https://lumean.app/es/developers/docs/md/errors/policy-flagged) |
| 403 | `template_access_denied` | template_access_denied — no access to the template | no | [template-access-denied](https://lumean.app/es/developers/docs/md/errors/template-access-denied) |
| 422 | `service_not_found` | service_not_found — service not found | no | [service-not-found](https://lumean.app/es/developers/docs/md/errors/service-not-found) |
| 422 | `invalid_order_status` | invalid_order_status — order status does not allow this | no | [invalid-order-status](https://lumean.app/es/developers/docs/md/errors/invalid-order-status) |
| 202 | `max_attempts_reached` | max_attempts_reached — chunk retry attempts used up | no | [max-attempts-reached](https://lumean.app/es/developers/docs/md/errors/max-attempts-reached) |
| 404 | `storage_expired` | storage_expired — file retention period has ended | no | [storage-expired](https://lumean.app/es/developers/docs/md/errors/storage-expired) |

## Cinco fuentes del 429

| Fuente | reason | Encabezado `Retry-After` | Cómo distinguirlo | Qué hacer |
| --- | --- | --- | --- | --- |
| Key request rate | `rate_limit_exceeded` | sí | `reason: "rate_limit_exceeded"`, `retry_after` (seconds) in the body, and the `Retry-After` and `X-RateLimit-*` headers. | Wait `retry_after` seconds and retry. If you hit it all the time, lower the rate to fit the key windows: `limits.requests.per_minute`, `per_hour`, and `per_day`. By default there is no request rate limit. A numeric default applies only if an operator has set one. The windows in effect are shown in the developer section. |
| Key token quota | `token_quota_exceeded` | sí | Detailed body: `window`, `limit`, `used`, `requested`, `reset_at`, `retry_after`. Every window sends a `Retry-After` header except the pool without a reset (`window: "quota"`). | Wait for `reset_at`, or make a single request smaller so that `requested` fits into what is left in the window (`limit − used`). The check runs before the order is created, so a 429 comes instead of a 201 and nothing is charged. |
| Subscription limit | `limit_exceeded` | no | `reason: "limit_exceeded"`, with no window fields and no `Retry-After`. The missing header is what tells it apart from the token quota. | Wait for the end of the billing period (`period_end` and `resets_in` in `GET /usage`) or change your plan. The limit is account-wide, so another key does not help. |
| Concurrent order limit | `concurrency_limit_exceeded` | no | `reason: "concurrency_limit_exceeded"`, no `Retry-After`. It usually comes when many orders are sent at once while the quotas are free. | Wait for your active orders to finish, not for the end of the period: as soon as one of them finishes or stops, a retry goes through. A queue with a concurrency cap helps. Pauses do not. The ceiling and the current count are in the `limit_type: "concurrent"` entry in `GET /usage`. |
| Pause after content blocks | `policy_cooldown_active` | sí | `reason: "policy_cooldown_active"`, `retry_after` and `retry_at` in the body, and a `Retry-After` header. The request rate and token quota limits also send the header. `reason` tells them apart. | Edit the text: waiting alone does not help. The same text gets a 422 `content_blocked` after the pause, and each new order rejected by the policy makes the pause longer (5 → 10 → 15 minutes). Any order that completes at least partially resets both the counter and the pause length. |

---

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