---
title: "policy_flagged — chunk rejected by policy"
url: https://lumean.app/de/developers/docs/errors/policy-flagged
locale: de
description: "This is not an HTTP error. The code arrives in two ways: 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 itself moves to `partially_completed` — a NON-terminal status: completed chunks stay in place, failed ones wait for action."
generated: 2026-10-17
---

# policy_flagged — chunk rejected by policy

- HTTP: `202`

- `reason`: `policy_flagged`

- `Retry-After`-Header: nein

## Was passiert ist

This is not an HTTP error. The code arrives in two ways: 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 itself moves to `partially_completed` — a NON-terminal status: completed chunks stay in place, failed ones wait for action.

## Warum

The content of the chunk was rejected by the policy of the generation provider. Bulk retry deliberately skips such chunks: the same text would be rejected again, and an attempt is not free in terms of time. Technical `failed` chunks, on the other hand, it picks up all at once.

## Was zu tun ist

Fetch the current text of the chunk, rephrase the offending fragment, and retry the chunk individually with the corrected text. The rejection reason is not exposed in any field — edit at your own discretion. Retry constraints: the new text must be ≤ `original_text_length`, no more than 5 attempts, and single-chunk retry is not available at all for `sfx` and `music`. The order-level `POST /orders/{order}/retry` will not help here — it does not accept `partially_completed`.

## Nächste Anfrage

`GET /orders/{order}/items/{item}/text` → then `POST /orders/{order}/items/{item}/retry` with the body `{"text": "<corrected text>"}` → 201 with the updated `OrderItem`. The retry is free: it reuses the remainder already locked for the order and does not consume the key token quota.

## Verwandt

- [max_attempts_reached — neighboring code in skipped[]](https://lumean.app/de/developers/docs/errors/max-attempts-reached)
- [content_blocked — the same thing at order creation](https://lumean.app/de/developers/docs/errors/content-blocked)
- [Guide: retries and idempotency](https://lumean.app/de/developers/docs/guide/retries)
- [GET /orders/{order}/items/{item}/text](https://lumean.app/de/developers/docs/api/get-orders-order-items-item-text)
- [POST /orders/{order}/items/{item}/retry](https://lumean.app/de/developers/docs/api/post-orders-order-items-item-retry)
- [POST /orders/{order}/items/retry-failed](https://lumean.app/de/developers/docs/api/post-orders-order-items-retry-failed)

---

- Diese Seite im Browser: https://lumean.app/de/developers/docs/errors/policy-flagged
- Vollständige maschinenlesbare Referenz: https://api.lumean.app/docs/llm.md
