Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

2.0 KB
Raw Blame

Troubleshooting Workflow

Use this workflow when a command fails, hangs, prompts unexpectedly, or behaves differently in a terminal.

Universal Triage

Run or suggest these in order:

mm --version
mm auth status
mm <failing-command> --help

If auth status reports anything other than authenticated, fix authentication before debugging downstream wallet, signing, swap, perps, or predict commands.

Common Symptoms

Symptom Likely cause Next step
mm: command not found Binary not installed or not on PATH Check install and PATH
Async command returns a polling id and appears stuck Request was dispatched without --wait Use mm wallet requests list or mm wallet requests watch --polling-id <id>
Auth errors after previously working Expired token Check mm auth status and session file under ~/.metamask/
CHAIN_ID_MISMATCH on typed data Payload domain.chainId differs from --chain-id Align the two chain IDs
MNEMONIC_LOCKED or WRONG_PASSWORD BYOK mnemonic is encrypted and password was wrong or missing Set the correct MM_PASSWORD environment variable and re-run
ALREADY_ENCRYPTED on wallet password set Mnemonic already has a password Use mm wallet password change instead
NOT_ENCRYPTED on wallet password change/remove Mnemonic is not encrypted Use mm wallet password set instead

Verbose Logging

Use --verbose when a command appears to hang or hides progress:

mm wallet balance --json --verbose

Structured logs and progress lines go to stderr; command results remain on stdout.

Error Codes

For raw error-code meanings, load ../references/errors.md. Relay CLI errors verbatim before explaining them.

Reset Last

Use mm reset only after checking version, auth status, and the failing command's help output. Reset clears local session state and should not be the first troubleshooting step. Always ask the user for explicit confirmation before running reset.