Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(api): list the bad-archive 400 on storage import

Yudhi Armyndharis8e60444effcc
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.md
index 312e3a557..c4447a0cd 100644
--- a/docs/06-api-specification.md
+++ b/docs/06-api-specification.md
@@ -5879,7 +5879,7 @@ Import storage files from a `tar.gz` located inside the `data/` directory.
`failed` counts archive entries the store refused to write; a bad or traversing entry is skipped without failing the rest. `imported` is `false` when entries failed and none was written.
-**Errors:** `400` missing/out-of-`data/`/not-found path · `401` · `403` · `500` · `503` S3 configured but not reachable since boot (a later outage answers `200` with `imported: false` and the entries in `failed`)
+**Errors:** `400` missing/out-of-`data/`/not-found path, or `Storage import failed: <reason>` when the file is not a readable gzip tar archive or exceeds the import resource caps · `401` · `403` · `500` · `503` S3 configured but not reachable since boot (a later outage answers `200` with `imported: false` and the entries in `failed`)
---