if (statusState === "unstable") {
issues.push({
channel: "whatsapp",
accountId,
kind: "auth",
message: "Auth state is still stabilizing.",
fix: "Wait a moment for queued credential writes to finish, then retry the command or rerun health.",
}); return;
}
if (!linked) {
issues.push({
channel: "whatsapp",
accountId,
kind: "auth",
message: "Not linked (no WhatsApp Web session).",
fix: `Run: ${formatCliCommand("openclaw channels login")} (scan QR on the gateway host).`,
}); return;
}
if (healthState === "stale") { const staleSuffix =
lastInboundAt != null
? ` (last inbound ${Math.max(0, Math.floor((Date.now() - lastInboundAt) / 60000))}m ago)`
: "";
issues.push({
channel: "whatsapp",
accountId,
kind: "runtime",
message: `Linked but stale${staleSuffix}${lastError ? `: ${lastError}` : "."}`,
fix: `Run: ${formatCliCommand("openclaw doctor")} (or restart the gateway). If it persists, relink via channels login and check logs.`,
}); return;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.