Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(dashboard): note that lastError is also set while initializing

Yudhi Armyndharisad5c5223ca4b
diff --git a/dashboard/src/services/api.ts b/dashboard/src/services/api.ts
index 29fcc551c..8f2959978 100644
--- a/dashboard/src/services/api.ts
+++ b/dashboard/src/services/api.ts
@@ -76,8 +76,10 @@ export interface Session {
lastActive?: string | null;
createdAt: string;
updatedAt: string;
- /** Human-readable reason carried while the status is 'failed' (terminal failure) or
- * 'action_required' (operator must intervene, e.g. acknowledge an onboarding modal). */
+ /** Human-readable reason carried while the status is 'failed' (terminal failure),
+ * 'action_required' (operator must intervene, e.g. acknowledge an onboarding modal), or
+ * 'initializing' during an engine-internal reconnect (from the fifth consecutive attempt, or while a
+ * retry waits after a failed relaunch). */
lastError?: string | null;
/**
* A limit WhatsApp itself has placed on the account, or null when there is none. Distinct from