---
title: "policy_flagged — chunk rejected by the content policy"
url: https://lumean.app/es/developers/docs/errors/policy-flagged
locale: es
description: "This is not an HTTP error. The code comes as the value of `OrderItem.status` and as the `reason` in the `skipped[]` array of the 202 response to `POST /orders/{order}/items/retry-failed`. The order then moves to `partially_completed`. This status is not final: finished chunks stay in place, and rejected ones wait for action."
generated: 2026-12-02
---

# policy_flagged — chunk rejected by the content policy

- HTTP: `202`

- `reason`: `policy_flagged`

- Encabezado `Retry-After`: no

## Qué pasó

This is not an HTTP error. The code comes as the value of `OrderItem.status` and as the `reason` in the `skipped[]` array of the 202 response to `POST /orders/{order}/items/retry-failed`. The order then moves to `partially_completed`. This status is not final: finished chunks stay in place, and rejected ones wait for action.

## Por qué

The generation provider rejected the chunk text under its content policy. Bulk retry skips such chunks: the same text would be rejected again. Chunks in `failed` (a technical failure), on the other hand, it picks up all at once.

## Qué hacer

Fetch the current chunk text, rephrase the disputed fragment, and retry that chunk on its own with the new text. The API does not report the rejection reason, so edit at your discretion. Retry limits: no more than 5 attempts, and chunk retry is not available for `sfx` and `music`. `GET /orders/{order}/items/{item}/text` returns the length limits: within `free_length` a retry is free, up to `max_billable_length` it comes with a surcharge. `POST /orders/{order}/retry` does not fit here: it does not accept orders in `partially_completed`.

## Siguiente petición

`GET /orders/{order}/items/{item}/text`, then `POST /orders/{order}/items/{item}/retry` with the body `{"text": "<corrected text>"}` → 201 with the updated `OrderItem`. Within `free_length`, the retry uses the amount already held for the order and does not use the key token quota. A surcharge for extra length counts toward the key token quota.

## Relacionado

- [max_attempts_reached — retry attempts used up](https://lumean.app/es/developers/docs/errors/max-attempts-reached)
- [content_blocked — block at order creation](https://lumean.app/es/developers/docs/errors/content-blocked)
- [Guide: retries and idempotency](https://lumean.app/es/developers/docs/guide/retries)
- [GET /orders/{order}/items/{item}/text](https://lumean.app/es/developers/docs/api/get-orders-order-items-item-text)
- [POST /orders/{order}/items/{item}/retry](https://lumean.app/es/developers/docs/api/post-orders-order-items-item-retry)
- [POST /orders/{order}/items/retry-failed](https://lumean.app/es/developers/docs/api/post-orders-order-items-retry-failed)

---

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