GuidesRunning & maintaining

OpenClaw WhatsApp: "Connection failed" and device-linking errors

Why a WhatsApp QR scan can fail from the panel while a CLI login succeeds later on the same host and version, and why repeated scans are not a diagnosis.

September 19, 2026Updated October 13, 2026The Everpod team
The short answer

WhatsApp’s “Connection failed. Try again” after an OpenClaw QR scan means device linking did not complete. “Can’t link new devices right now” is a later restriction on linking attempts, not proof of the original cause. Stop repeated scans. On OpenClaw 2026.9.2 (September 2026), scans from the control panel and the agent’s login tool can fail while a CLI scan succeeds a day later on the same host, account and version. That is a recovery seen in practice, not a guaranteed fix or a known cooldown duration.

What fails, and what has worked

On OpenClaw 2026.9.2, the phone can reject scans from the Control UI and from the agent’s WhatsApp login tool. The Gateway times out before login and saves no linked credentials, and WhatsApp then refuses further device linking.

Once that restriction has cleared, a single login from a terminal can succeed:

openclaw channels login --channel whatsapp
Copied

The CLI reports that WhatsApp requested a restart after pairing, then completes the connection, and messages pass both ways. After a later Gateway restart, the stored session reconnects without another scan. The upstream report records the failed and successful paths together.

What that comparison does not prove

The CLI login can succeed from the same server address as the failed scans, so a permanent inability to link from that address cannot explain them. But two things change between them: time passes, and the CLI’s login process replaces the panel or agent tool. Which of the two makes the difference is not established.

A Baileys registration-refresh report describes a related client-handshake failure, including a residential Mac reproduction. It is a plausible lead, not a confirmed cause: no capture of the relevant protocol notification from a failed attempt confirms it. Neither a generic “datacenter IPs are blocked” explanation nor a blanket “this library version cannot link” claim fits all the evidence.

Separate the linking stages

If you try the CLI path

Use the existing installation and account, with the phone ready on Linked devices. A CLI attempt is a way to compare login paths after the restriction has cleared, not a reason to wipe the state directory, unlink working devices or change servers. Keep another working channel, such as Telegram, available while diagnosing.

Confirm a real message and reply after linking. On 2026.9.2, adding --verbose does not expose the underlying client protocol trace, so a more verbose-looking log does not settle the cause. Keep that distinction when reporting your own result: what failed, what changed and what succeeded. The WhatsApp connection guide covers number choice and access settings once linking works.

Give your AI agents a permanent cloud computer.

We set it up and secure it, so all you do is use them. Run Claude Code, Codex or any agent you use, more at once than your laptop can hold, and keep them working when it’s closed. Or have OpenClaw set up and run for you.

See the developer pod

From $24/mo · your own plan or API key

Get your OpenClaw agent

$29/mo, cancel anytime · model usage included