Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(migration): say an import above the per-client share gets 413
Yudhi Armyndharisbbd664278e01
diff --git a/docs/14-migration-guide.md b/docs/14-migration-guide.mdindex f786181fb..679e0c602 100644--- a/docs/14-migration-guide.md+++ b/docs/14-migration-guide.md@@ -127,14 +127,14 @@ curl -X POST 'http://localhost:2785/api/infra/import-data' \> [!IMPORTANT]> **The import is one request, bounded by the target's `BODY_SIZE_LIMIT`** (default `25mb`); a larger-> file is refused with `413`, or with `503` and `Retry-After` once it is also above half the in-flight-> body budget (twice `BODY_SIZE_LIMIT` at the default budget). Retrying does not help either way; raise-> the limit as below, which clears both because the default budget scales with it. Compare+> file is refused with `413`, as is one above half the in-flight body budget (twice `BODY_SIZE_LIMIT`+> at the default budget). Retrying does not help either way; raise the limit as below, which clears+> both because the default budget scales with it. Compare> `ls -l data-backup.json` with that limit before Step 4. If the file is bigger, set `BODY_SIZE_LIMIT`> on the target to at least its size (for example `50mb`) and restart, since the value is read at> boot; put it back afterwards, because it applies to every route.> An explicit `INFLIGHT_BODY_BUDGET_BYTES` must stay at least twice the file size, because one caller-> may hold only half of it; a body above that share is refused with `503`. `EXPORT_INLINE_MEDIA_BUDGET_BYTES`+> may hold only half of it; a body above that share is refused with `413`. `EXPORT_INLINE_MEDIA_BUDGET_BYTES`> bounds inline media only, so a long text history can still pass the limit and needs the memory to> parse it on both ends.>