---
title: "storage_expired — files deleted by retention"
url: https://lumean.app/de/developers/docs/errors/storage-expired
locale: de
description: "`POST /storage/url` for a path from `result.files[]` returns 404 `{\"success\": false, \"message\": \"File not found.\"}`. Under the same name, the code also appears as a field in the chunk preview response — next to the `chunks_purged` value, which means only the fragments were deleted and the result is still there."
generated: 2026-10-17
---

# storage_expired — files deleted by retention

- HTTP: `404`

- `reason`: `storage_expired`

- `Retry-After`-Header: nein

## Was passiert ist

`POST /storage/url` for a path from `result.files[]` returns 404 `{"success": false, "message": "File not found."}`. Under the same name, the code also appears as a field in the chunk preview response — next to the `chunks_purged` value, which means only the fragments were deleted and the result is still there.

## Warum

Order storage is deleted by retention: by default 7 days after the order reaches a terminal status (`completed`, `result_delivered`, `failed`, `compensated`, `cancelled`). The order record itself remains in the database — only the files disappear.

## Was zu tun ist

The main trap: after retention expires, `GET /orders/{order}` STILL shows the old paths in `result.files[]`. The user-facing response has no separate expiry flag — a "dead" path can be told apart from a live one only by the 404 when you request a link. The files cannot be restored: they no longer exist. The right habit is to download the result as soon as the order is `completed`, without delay; subtitles are stored separately, in `result.service_files[]`, and are deleted along with everything else.

## Nächste Anfrage

`POST /orders/{order}/retry` creates a NEW order with the same parameters and is billed again. This is the only way to get the file again.

## Verwandt

- [Guide: files and storage](https://lumean.app/de/developers/docs/guide/files)
- [POST /storage/url](https://lumean.app/de/developers/docs/api/post-storage-url)
- [GET /orders/{order}](https://lumean.app/de/developers/docs/api/get-orders-order)
- [POST /orders/{order}/retry](https://lumean.app/de/developers/docs/api/post-orders-order-retry)
- [404 — resource not found](https://lumean.app/de/developers/docs/errors/404)

---

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