ClawKit Logo
ClawKitReliability Toolkit
Troubleshooting Hub

Fix Any OpenClaw Error

Find your error below, or paste it into the Error Doctor for instant diagnosis.

Don't Know Your Error?

Paste your full error message into the Error Doctor β€” it fuzzy-matches against 30+ known issues and gives you the exact fix commands.

Open Error Doctor

All Troubleshooting Guides

IPv6 LLM Request Timeout

πŸ”₯ Hot

Resolve 32s request hangs caused by broken IPv6 DNS resolution in Node.js.

fetch failed (32s hang)

Ubuntu Snap Chromium Timeout

Fix SingletonLock permission denied errors when using Snap-based browsers on Ubuntu.

Permission denied (SingletonLock)

Venice AI 402 Billing Error

Handle "insufficient balance" errors and fix model fallback for Venice AI.

insufficient usd or diem balance

OpenAI Preflight Timeout (10s)

Fix model verification timeouts when using custom proxies or local LLM servers.

verification timed out after ~9.98s

Telegram "ENOENT" Reply Crash

Fix a bug where file-like text in replies triggers a fatal directory error.

ENOENT: no such file or directory, open...

Slack Bolt 4.6.0 Crash

πŸ”₯ Hot

Fix the "message.channels is not a valid event type" error after updating Slack dependencies.

message.channels is not a valid event type

False API Rate Limit

Top

Resolve incorrect "API rate limit reached" warnings caused by misclassified 5xx errors.

API rate limit reached (False Positive)

Telegram deleteWebhook Failed

Top

Fix "network request for deleteWebhook failed" when OpenClaw cannot reach the Telegram API at startup.

network request for 'deleteWebhook' failed!

Gateway Token Missing

Top

Fix "unauthorized: gateway token missing" by pasting your auth token into Control UI settings.

unauthorized: gateway token missing

MCP Server Connection Errors

Top

Fix MCP server spawn failures, connection refused errors, tool call timeouts, and protocol mismatches.

MCP server failed: connection refused

Telegram: Too Many Commands

Fix BOT_COMMANDS_TOO_MUCH error when registering multiple OpenClaw skills.

BOT_COMMANDS_TOO_MUCH

WhatsApp Linking Stuck at Logging In

Top

Fix linked-but-disconnected WhatsApp state: logging in loop, timeout, then logged out.

Linked: Yes / Running: No / Error: logged out

Google Chat Restart Loop

Top

Fix startAccount exits that cause immediate channel restart loops.

channel exited ... restarting

Anthropic 529/503 Overloaded

Top

Fix Anthropic overloaded retries, 529/503 bursts, and stabilize fallback behavior.

Anthropic overloaded_error (529/503)

macOS Tahoe Permission Blocks

Top

Fix Tahoe permission denials that block OpenClaw/Gateway access to local files and tools.

Operation not permitted / Permission denied (macOS Tahoe)

WSL2 Browser Control

Guide to controlling Windows browsers from an OpenClaw instance running in WSL2.

WSL2 / CDP connection timeout

Docker EACCES Permission

Resolve directory creation and permission errors inside Docker containers.

EACCES: permission denied, mkdir

Windows npm Error 3221225477

πŸ”₯ Hot

Fix the common "exit code 3221225477" crash during OpenClaw installation on Windows.

npm error code 3221225477

Browser Gateway Timeout (15000ms)

Top

Resolve communication timeouts between the browser extension and OpenClaw gateway.

gateway timeout after 15000ms

Vertex "null to object" Crash (v2026.3.1)

πŸ”₯ Hot

Fix the regression in OpenClaw v2026.3.1 affecting Vertex embedded runs, Telegram bots, and cron tasks.

Cannot convert undefined or null to object (Vertex)

GPT-5.2 Reasoning 400 Errors

πŸ”₯ Hot

Fix recurring 400 Bad Request errors with GPT-5.2 reasoning blocks in session history.

required following item missing for reasoning block

Auth & Pairing Errors (Cluster)

πŸ”₯ Hot

One decision tree for gateway token mismatch/missing, control UI device identity required, and pairing required (1008).

unauthorized token mismatch / token missing / device identity / pairing required

Gateway Runtime Errors (Cluster)

Top

Single runbook for gateway closed (1006), gateway already running lock timeout, service missing/install, and docker ENOENT.

gateway closed (1006) / gateway already running / service missing / spawn docker ENOENT

Device Token Mismatch

πŸ”₯ Hot

Fix "disconnected (1008): unauthorized: device token mismatch". Rotate tokens, kill zombie processes.

disconnected (1008): unauthorized: device token mismatch

Gateway Token Mismatch

πŸ”₯ Hot

Fix "gateway token mismatch (set gateway.remote.token to match gateway.auth.token)". Docker, remote CLI, env var override.

unauthorized: gateway token mismatch

Pairing Required (1008)

πŸ”₯ Hot

Fix "disconnected (1008): pairing required". Approve devices, fix Docker NAT, configure LAN access.

disconnected (1008): pairing required

Device Identity Required (1008)

Top

Fix "device identity required". LAN access needs HTTPS or token URL. Secure context requirement for Control UI.

disconnected (1008): device identity required

Windows Gateway Errors

Top

Full Windows troubleshooting: npm install failures, zombie processes, port conflicts, crash loops.

PSSecurityException / EBUSY / spawn docker ENOENT

Connection Refused (ECONNREFUSED)

Agent not responding on localhost:3000. Fix IPv4/IPv6 binding and port issues.

ECONNREFUSED 127.0.0.1:3000

JSON Parse Errors

Fix trailing commas, unescaped backslashes, and invalid JSON in config files.

SyntaxError: Unexpected token

API Key Problems (401 / 429 / 404)

Invalid key, rate limits exceeded, or model not found. Debug provider authentication.

401 Unauthorized / 429 Rate Limit

MiniMax API 401 (authHeader)

Fix MiniMax 401 by enabling authHeader=true with verified upstream release notes.

MiniMax API Authentication Fails with 401

Docker macOS Errors

EACCES permission denied, token mismatch in containers, Chrome not found in Docker.

EACCES: permission denied, mkdir '/Users'

Ollama 5-Minute Timeout

Generation cuts at exactly 300 seconds. Fix the undici headersTimeout and retry loop.

UND_ERR_HEADERS_TIMEOUT / 500 error at 5m0s

Message Ordering Conflict

Bot goes silent or shows "Message ordering conflict". Fix unsupported developer role.

Message ordering conflict / ROLE_UNSPECIFIED

Anthropic Key Missing (Session Memory Hook)

Fix false anthropic API-key missing errors caused by session-memory hook mismatch.

No API key found for provider "anthropic"

Telegram 5-20MB File Deadlock

Recover from Telegram channel lockups on medium file uploads; includes safe workaround.

Telegram files ~5-20MB cause silent deadlock

Gateway WebSocket Timeout After Reboot

Fix stuck health-check and websocket reconnect failures after reboot.

Gateway websocket connection fails after reboot

Pairing Required After npm Update

Break recurring pairing-required loops after npm update by resyncing device token state.

pairing required loop after update

spawn git ENOENT

Git not installed or not in PATH. One-command fix for Windows, macOS, and Linux.

npm error syscall spawn git / ENOENT

PowerShell Scripts Blocked

Fix PSSecurityException "running scripts is disabled". Use npm.cmd or set execution policy.

npm.ps1 cannot be loaded because running scripts is disabled

Windows Basics (Paths & Firewall)

Path escaping, firewall rules, Node.js PATH issues, and Docker WSL2 setup.

Windows path / firewall / Node.js not found

Browser Control Service Timeout

Fix "Can't reach browser control service (timed out after 20000ms)". Hung CDP, stray Chromium, port 18800 conflicts.

Can't reach the openclaw browser control service

Gateway Lock Timeout

Fix "gateway already running; lock timeout". Stale lock files in Docker, PID reuse, manual cleanup.

gateway already running (pid NNN); lock timeout after 5000ms

spawn docker ENOENT

Docker not installed or not in PATH. Install Docker or disable sandbox mode to fix immediately.

spawn docker ENOENT / agent failed before reply

Control UI Assets Not Found (npm Global)

resolveControlUiDistIndexPath fails after npm install -g. Assets exist but resolver can't find them.

Missing Control UI assets. Build them with pnpm ui:build

Remote CDP Port Blocked (Browserless)

Remote CDP profiles rejected with false "port in use but not by openclaw" error.

Port is in use for profile "remote" but not by openclaw

Gateway Status Fails on Headless Linux

systemctl --user unavailable on EC2/headless servers. Enable linger or use system-level service.

Failed to connect to bus: No medium found

Feishu Plugin Install Error (npm 404)

@openclaw/feishu not on npm registry. Use local install or build from source.

npm error 404 Not Found - @openclaw/feishu

Docker Pairing Bypass (allowInsecureAuth)

allowInsecureAuth ignored behind reverse proxy. Fix: add trustedProxies to config.

pairing required despite allowInsecureAuth: true

HTTP Proxy Broken (v2026.2.24 Regression)

πŸ”₯ Hot

setGlobalDispatcher breaks all proxy-dependent connections. Downgrade to 2.23 or upgrade to patched version.

Connection error / fetch failed after 2.24 update

GPT-5.2 Reasoning 400 Loop

πŸ”₯ Hot

Persistent 400 error loop when using OpenAI reasoning models. Orphaned rs_... item in conversation history.

item rs_... of type reasoning was provided without its required following item

npm install failed for openclaw@latest

Fix npm install failures: Node.js version too old, corrupted cache, permissions, or network issues.

! npm install failed for openclaw@latest

pnpm Install: Unsafe Plugin Manifest Path

Fix "unsafe plugin manifest path" when using pnpm to install OpenClaw globally.

ERR_PNPM_UNSAFE_PATH β€” plugin manifest path is not inside pnpm store

Windows: plugins install spawn EINVAL

Fix spawn EINVAL when running openclaw plugins install on Windows. PowerShell policy, PATH, and Node.js fixes.

Error: spawn EINVAL β€” openclaw plugins install

OpenRouter Rate Limit & model not allowed

Fix OpenRouter 403 model not allowed and 429 rate limit errors. Configure fallback models and add credits.

model set failed: Error: model not allowed / 429 Too Many Requests

Gemini CLI Not Detected by OpenClaw

Fix "Gemini CLI OAuth failed" β€” add gemini to PATH, re-authenticate, or switch to API key auth.

Gemini CLI OAuth failed / Cannot find gemini in PATH

Discord Gateway 4014: Privileged Intent

Fix Discord gateway close code 4014 crash loop. Enable MESSAGE_CONTENT intent in Discord Developer Portal.

WebSocket closed: 4014 Disallowed intent

Skill Install in Docker: brew not installed

Fix skill install failures in Docker containers where Homebrew is unavailable. Pre-install deps with apt-get.

Install failed: openai-whisper β€” brew not installed

Discord modelByChannel Schema Error

Fix "channels.discord.modelByChannel: Unrecognized key" in OpenClaw 2026.2.21+. Update config to array format.

channels.discord.modelByChannel throws Unrecognized key schema validation error

Browser act Timeouts in Isolated Profile

Fix intermittent act() timeouts when open/snapshot succeed. Kill zombie Chrome process and clear isolated profile.

act() timed out after 30000ms β€” isolated browser profile

Minimax Portal OAuth 401

Fix minimax-portal OAuth 401 introduced in OpenClaw 2026.2.26. Regenerate API key and update credentials.

minimax-portal OAuth 401 Unauthorized

Onboarding Wizard Does Not Install Systemd Service (Ubuntu)

πŸ”₯ Hot

Fix "DBUS_SESSION_BUS_ADDRESS not defined" when OpenClaw onboarding fails to install systemd user service on Ubuntu 22.04. Enable linger and install manually.

isSystemdUserServiceAvailable: DBUS_SESSION_BUS_ADDRESS and XDG_RUNTIME_DIR not defined

launchctl bootstrap failed: Could Not Find Domain for user gui

Fix macOS "launchctl bootstrap failed: Could not find domain for user gui: 1000" when installing OpenClaw gateway via SSH or headless. Use brew services or LaunchDaemon.

launchctl bootstrap failed: Could not find domain for user gui: 1000

Browser Control Server Hangs on /start (Ubuntu x64)

Fix browser control server hanging indefinitely on POST /start on Ubuntu x64. Chromium sandbox, Xvfb, and headless mode fixes.

Can't reach the OpenClaw browser control server (timed out after 15000ms)

Telegram Typing Indicator Persists After Response

Fix Telegram bot showing "typing..." indefinitely after OpenClaw sends a response. Missing sendChatAction cancellation on completion.

Telegram typing indicator never clears after bot responds

Telegram "Network request failed" After v2026.2.26 Upgrade

πŸ”₯ Hot

Fix Telegram plugin "Network request failed" (Node HTTPS timeout) after upgrading from v2026.2.23 to v2026.2.26. Node dispatcher regression fix.

Network request failed: deleteWebhook / sendMessage (Node HTTPS timeout, curl succeeds)

Embedded Agent Times Out on Local OpenAI-Compatible LLM

Fix "embedded run timeout" when connecting to a local LLM (LM Studio, llama.cpp, vLLM) that responds fine to curl. Binding, timeout, and provider config fixes.

Error: embedded run timeout β€” local OpenAI-compatible LLM

macOS App "Not Supported on This Mac" β€” arm64-Only Regression

Fix OpenClaw v2026.2.26 failing on Intel Macs ("not supported on this Mac"). Regressed from universal binary. Use npm CLI workaround.

"OpenClaw" cannot be opened. This application is not supported on this Mac.

Gemini Models Return 400 (Request Formatting Issue)

Fix 400 errors from Gemini models when OpenClaw sends OpenAI-format requests. Add google/ prefix to model name and configure provider.

Error: 400 Bad Request β€” Gemini (request formatting mismatch)

Copilot Enterprise HTTP 421 Misdirected Request

Fix HTTP 421 errors with GitHub Copilot Enterprise. Enterprise accounts require org-specific endpoints and enterprise-scoped PATs.

Error: 421 Misdirected Request β€” GitHub Copilot Enterprise

Browser Relay Extension Rejects Token After Upgrade

Fix Browser Relay Chrome extension 401 token rejection after upgrade. Extension now expects a derived token from /json/version, not the raw gateway token.

Browser Relay: token rejected (401) β€” /json/version 401 with raw gateway token

More Fixes

Fix LLM Request Timed Out

Stuck with LLM request timed out errors in OpenClaw? Learn how to fix the idleTimeoutSettings to stop requests from dropping during inference.

LLM request timed out

Missing light-runtime-api Error

Agent crashes on OpenClaw 2026.3.23 with missing light-runtime-api error. Remove the WhatsApp plugin or remove it from configuration to fix.

missing light-runtime-api for plugin 'whatsapp'

Fix refresh_token_reused in OpenClaw

Troubleshoot 'refresh_token_reused' errors in OpenClaw. Learn how to resolve OAuth race conditions causing model failovers.

refresh_token_reused (401)

Matrix Plugin API Version Mismatch

Stuck with Matrix Plugin API Version Mismatch in OpenClaw? Learn how to resolve the config validation error caused by the v2026.3.22 upgrade.

Matrix Plugin API Version Mismatch

Fix Device Identity Required Error

Troubleshooting the 'device identity required' error in OpenClaw v2026.3.12 and v2026.3.13 when using LAN token-only access.

device identity required

Fix Qwen-Portal OAuth Token Expiration

Struggling with Qwen-Portal OAuth in OpenClaw? Learn how to handle the token refresh failure error causing frequent forced re-authentications.

Qwen OAuth refresh token expired

Fix "Reasoning is required" Model Error

Stuck with the "Reasoning is required" error in OpenClaw v2026.3.28? Quickly resolve it by updating your agent thinking default in dashboard settings.

Reasoning is required for this model endpoint

Fix ECONNREFUSED 127.0.0.1:18789

Troubleshoot OpenClaw connection errors in Docker. Learn how to fix the ECONNREFUSED gateway unreachable issue by modifying your network configuration.

ECONNREFUSED 127.0.0.1:18789

Fix 423 VirusTotal Scan Pending

Resolving the 423 VirusTotal scan pending error in OpenClaw. This is a local file path bug, not a server security issue. Follow the steps for a workaround.

423: Package pending security scan

Control UI 'device identity required' Fix

Troubleshoot the OpenClaw Control UI 'device identity required' WebSocket error caused by browser navigation resets in version 2026.3.7.

disconnected (1008): device identity required

Control UI assets not found Fix

Resolving the Control UI assets not found error in OpenClaw v2026.3.22 caused by missing production bundles in the npm package.

Control UI assets not found

Fix Buffered Message Tool Updates

Stop OpenClaw from batching progress updates. Learn why your messages arrive all at once and how to handle agent turn completion.

Buffered Message Tool Outputs

Fix 503 Control UI Assets Missing

The v2026.3.22 OpenClaw npm package is missing critical UI assets. Fix the 503 error by manually restoring the directory from the previous version.

Control UI assets not found

Fixing EADDRINUSE Voice-Call Plugin

Resolving EADDRINUSE port conflicts in the OpenClaw voice-call plugin. Learn how to clear hung runtime promises and fix webhook server binding.

listen EADDRINUSE: address already in use

Fix OpenClaw Gateway Handshake Timeout

Resolving the OpenClaw 2026.3.12 gateway handshake timeout error after the 3s default timer reduction. Quick fixes for CLI connection issues.

gateway closed (1000) handshake timeout

Kimi exec(...) regression

Stuck with Kimi exec(...) literal text in OpenClaw 2026.3.7? Learn why this regression happens and how to roll back to 2026.3.2.

Kimi model emitting literal exec(...) text

Fixing EADDRINUSE in nextcloud-talk

Stuck in an OpenClaw crash loop with EADDRINUSE? Learn why the nextcloud-talk plugin fails to bind port 8788 and how to fix it by downgrading.

EADDRINUSE: address already in use 0.0.0.0:8788

Fix lane wait exceeded in cron

Stuck in lane wait exceeded on OpenClaw 2026.3.8? Manual cron triggers are failing due to a regression. Downgrade to 2026.3.7 to resolve immediately.

lane wait exceeded: lane=cron

Fix gpt-5.4 is not allowed error

Stuck with 'Model openai-codex/gpt-5.4 is not allowed' in OpenClaw? Learn how to refresh your OAuth session to access the latest model updates.

Model "openai-codex/gpt-5.4" is not allowed

iMessage Silent Send & FDA Errors

Troubleshooting silent iMessage failures and FDA propagation issues in OpenClaw on macOS 26. Learn how to resolve gateway startup errors.

iMessage Send Failures / FDA Access Denied

Sandbox Browser Timeout Fix

Troubleshooting the OpenClaw browser bridge timeout when running inside Docker. Learn how to force the bridge to listen on 0.0.0.0 for container access.

Can't reach the openclaw browser control service

Telegram Slow Streaming Fix

Struggling with slow Telegram responses in OpenClaw 2026.2.15? Learn why the new 1000ms throttle impacts UX and how to revert to 2026.2.14.

Telegram response throttling

Fix device identity required on LAN

Stuck on 'device identity required' in OpenClaw LAN mode? Learn why insecure contexts drop auth tokens and how to resolve it.

device identity required

OpenClaw 2026.3.8 Isolated Cron Timeouts

Cron jobs timing out in isolated sessions after OpenClaw 2026.3.8? This guide explains the tool-call regression and how to diagnose it.

Cron task timeout in isolated session

OpenClaw OOM on 4GB Servers

Fix OpenClaw JavaScript heap out of memory errors on 4GB servers after v2026.3.7. Roll back OpenClaw or switch Node.js versions.

OpenClaw OOM on 4GB Servers

Exec Approval Socket Missing - Hangs

Exec approval socket not created, flow hangs

OpenClaw Main Session UI Error Triangle

Fix the OpenClaw Control UI error triangle and missing input box when switching to the main session. Resolve unusable main session in version 2026.3.12.

Control UI Main Session Error Triangle

Mistral 422 (no body) Error

Fix Mistral provider 422 (no body) errors in OpenClaw. Occurs in v2026.3.8+, resolved by downgrading or waiting for update.

Mistral 422 status code (no body)

macOS: system.run.prepare missing

Fix the 'node command not allowed: the node does not support "system.run.prepare"' error on macOS nodes in OpenClaw. Learn why it happens and the current workaround.

macOS: system.run.prepare missing

OpenAI Codex Auth Hangs

OpenAI Codex Auth Hangs in VPS/SSH

Gemini OAuth 60s Hangs

Fix severe 60s hangs in OpenClaw's google-gemini-cli tool calls. Learn why it happens and the workaround using an API proxy or updated settings.

Gemini CLI OAuth 60s Hangs

Discord Listener Blocks: Agent Timeout

DiscordMessageListener Blocking

OpenClaw Silent Tool Failures

Fix OpenClaw tool invocation failures where agents claim to execute but no calls are made. Resolve silent errors withkimi-coding/k2p5 models.

OpenClaw Tool Execution Silent Failure

`sessions_spawn` Blocked: Schema Mismatch

Fix OpenClaw's `sessions_spawn` blocked by config schema mismatch. The runtime expects 'agents.defaults.subagents.allowAgents', but the schema rejects it. Update your schema.

sessions_spawn blocked by config schema mismatch

Session Lock Timeout Errors

Fix session lock timeout errors in OpenClaw. When agents take too long, handlers fail. Learn the cause and how to prevent it.

timeout acquiring session store lock

OpenClaw: Fix Billing Error / Lost Response

Troubleshoot intermittent 'API provider billing error' in OpenClaw. Learn the fix for misleading messages and lost responses, often related to regex issues.

Intermittent API provider billing error

OpenClaw GPT-5.4 Unknown Model / 404

Fix OpenClaw 2026.3.2 error where openai-codex/gpt-5.4 is listed but fails with Unknown model/HTTP 404. This is a release gap; update to a newer version.

OpenClaw GPT-5.4 Unknown Model / 404

OpenClaw Telegram Tool Errors

Fix OpenClaw "Tool not found" or timeout errors in Telegram. Learn why restricted tool profiles cause this and how to set the 'coding' profile.

OpenClaw Tool Not Found in Telegram Sessions

OpenClaw HTTP Auth Error (2026.2.21)

Fix OpenClaw 2026.2.21 Control UI error: 'allowInsecureAuth' no longer works for token-only HTTP. Use HTTPS with Nginx.

Control UI requires device identity

OpenClaw Cron Jobs Stopped Executing

Cron Jobs Not Running

Kimi K2.5 Config Failed: Unrecognized Key

Fix OpenClaw Kimi K2.5 config validation errors related to 'requiresOpenAiAnthropicToolPayload'. Upgrade to the latest version.

Unrecognized key: requiresOpenAiAnthropicToolPayload

OpenClaw: requiresOpenAiAnthropicToolPayload Error

Fix OpenClaw config error 'Unrecognized key: requiresOpenAiAnthropicToolPayload'. Temporary workaround: edit openclaw.json or use clawaid.

Unrecognized key: requiresOpenAiAnthropicToolPayload

OpenClaw: Feishu @larksuiteoapi/node-sdk Error

Resolving the "Cannot find module @larksuiteoapi/node-sdk" error during Feishu onboarding with OpenClaw v2026.3.7. Fix involves installing dependencies.

Cannot find module @larksuiteoapi/node-sdk

Model Fallback Fails on 429 Rate Limit

Fix OpenClaw model fallback errors when primary LLM hits a 429 rate limit. Learn why it happens and how to ensure your agents retry with fallback models.

Model Fallback Fails on 429 Rate Limit

systemctl is-enabled unavailable OpenClaw Error

Fixes for the 'systemctl is-enabled unavailable' error in OpenClaw 2026.3.2 on Ubuntu 24.04. Learn the cause and how to resolve it.

systemctl is-enabled unavailable

Fix 401 Missing Auth Headers

Troubleshoot "401 missing authentication headers" errors in OpenClaw after a VM reinstall. Switch to the 'coding' tools profile for a quick fix.

401 Missing Authentication Headers

Unknown model: google-gemini-cli/gemini-3.1-pro-prev…

Fix 'Unknown model: google-gemini-cli/gemini-3.1-pro-preview' in OpenClaw. Add gemini-3.1-pro-preview to provider model catalog.

Unknown model: google-gemini-cli/gemini-3.1-pro-preview

Gemini 429 Error: Auth Profile Cooldown

Troubleshoot OpenClaw's google-gemini-cli 429 errors. Learn how model-specific rate limits kill fallbacks and get the workaround.

Gemini 429 Error: Auth Profile Cooldown

Error Not Listed?

Paste your error into the Doctor tool or search existing GitHub issues.