Issues

Common OpenClaw issues, fixed and documented

This page targets the main OpenClaw troubleshooting queries showing up right now: WhatsApp connection failures, Node.js runtime mismatches, API key errors, broken skills, and memory persistence problems. Every fix here has been reproduced on a real machine and verified to work.

High priority
Medium priority
Low priority

WhatsApp QR Code Not Scanning

WhatsAppAuth
Mar 10, 2026

Symptom

The QR code displays in terminal but scanning it with WhatsApp gives 'Not Valid' or the connection drops immediately.

Cause

Baileys session mismatch — your local auth_info_multi folder is out of sync with WhatsApp's servers.

Fix — step by step

  1. Stop OpenClaw completely (Ctrl+C or kill the process).
  2. Delete the auth_info_multi folder in your project root.
  3. Run openclaw start so a fresh QR can generate.
  4. Scan within 60 seconds before it expires.
  5. Avoid switching networks or devices mid-scan.
Verified fix
Full guide

Node.js Version Error on Start

InstallNode.js
Mar 8, 2026

Symptom

OpenClaw refuses to start with an error like: 'engine node: wanted >=18.0.0, got 16.x.x' or a similar version mismatch.

Cause

OpenClaw requires a newer Node.js runtime than the system package manager installed by default.

Fix — step by step

  1. Run node --version to confirm your current runtime.
  2. Install nvm from the official install script.
  3. Run nvm install 20 && nvm use 20.
  4. Set your shell profile to use the right version automatically.
  5. Retry openclaw start after reopening the terminal.
Verified fix
Full guide

API Key Not Working (Claude / OpenAI)

ConfigAPI Key
Mar 6, 2026

Symptom

Agent starts but all responses fail with '401 Unauthorized' or 'invalid_api_key' errors in the logs.

Cause

The API key is set under the wrong environment variable, contains hidden whitespace, or was revoked by the provider.

Fix — step by step

  1. Check the .env file for the exact provider variable name.
  2. Paste the key into a plain text editor to remove hidden whitespace.
  3. Confirm the key is still active in the provider dashboard.
  4. Verify the .env file sits in the project root.
  5. Restart OpenClaw fully because .env changes do not hot-reload.
Verified fix
Full guide

Agent Crashes on Skill Load

SkillsCrash
Mar 5, 2026

Symptom

OpenClaw starts, logs 'Loading skills...' and then crashes immediately with a module error or syntax failure.

Cause

A skill dependency is broken, a package was installed under the wrong Node.js version, or the skill code is not compatible with the running runtime.

Fix — step by step

  1. Set LOG_LEVEL=debug and reproduce the crash.
  2. Identify the last skill name logged before exit.
  3. Open that skill folder and reinstall its dependencies.
  4. Remove and reinstall the skill if the crash persists.
  5. Run openclaw doctor to catch any other dependency mismatches.
Verified fix
Full guide

VPS Deploy: Port Already In Use

VPSDeploy
Mar 3, 2026

Symptom

After deploying to a VPS, OpenClaw fails with 'EADDRINUSE: address already in use :::3000'.

Cause

A previous OpenClaw process is still running or another service already owns the configured port.

Fix — step by step

  1. Run lsof -i :3000 to find the process using the port.
  2. Stop or kill the old process cleanly.
  3. Change the configured port if another service should keep using 3000.
  4. Delete stale PM2 processes if you use PM2.
  5. Restart with the updated port and verify the reverse proxy target.
Verified fix
Full guide

Memory Not Persisting Between Restarts

MemoryConfig
Mar 1, 2026

Symptom

The agent seems to forget everything after a restart and MEMORY.md updates do not stick.

Cause

The memory path resolves to the wrong directory or the process does not have permission to write to the expected file.

Fix — step by step

  1. Confirm MEMORY_PATH points to the intended absolute location.
  2. Check the file permissions in the project directory.
  3. Fix ownership and write permissions if needed.
  4. Restart the process under the same deploy user.
  5. Add a fact, restart, and verify that the fact still exists.
Verified fix
Full guide

Issue not listed here?

Describe your error and Milan will diagnose it — usually within a few hours.

Get help from Milan