Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(integration): describe when the session-alive preflight answers 503

Yudhi Armyndharis14fa5e1ccf58
diff --git a/src/modules/integration/ingress.controller.ts b/src/modules/integration/ingress.controller.ts
index 22e258d56..3af20f128 100644
--- a/src/modules/integration/ingress.controller.ts
+++ b/src/modules/integration/ingress.controller.ts
@@ -10,7 +10,7 @@ import { InstanceThrottlerGuard } from './instance-throttler.guard';
// @Public so the global ApiKeyGuard early-returns (providers can't present an API key). The
// controller-level @SkipThrottle below exempts the GLOBAL per-IP guard (see its comment).
// The provider body is read as RAW bytes from req.rawBody (stashed by the json() verify callback in
-// main.ts) — it is intentionally NOT DTO-bound, so the global ValidationPipe never 400s on the
+// src/configure-app.ts) — it is intentionally NOT DTO-bound, so the global ValidationPipe never 400s on the
// provider's unknown keys, and the exact signed bytes reach the HMAC verifier.
@ApiTags('integration')
@Public()
@@ -76,7 +76,7 @@ export class IngressController {
@ApiResponse({
status: 503,
description:
- "A route whose response contract declares a `session-alive` preflight, when the bound session's engine is not connected. The delivery is not persisted, so the provider's retry is treated as a new one; `Retry-After` carries the delay.",
+ "A route whose response contract declares a `session-alive` preflight, when the bound session has no running engine or its engine has failed (a starting, reconnecting or QR-pending session is answered with the route's ack). The delivery is not persisted, so the provider's retry is treated as a new one; `Retry-After` carries the delay.",
})
async receive(
@Param('pluginId') pluginId: string,