Troubleshooting
Authentication errors
Section titled “Authentication errors””Invalid API key”
Section titled “”Invalid API key””- Check that your environment variable is set:
echo $ANTHROPIC_API_KEY - Verify the key hasn’t been rotated in your provider dashboard
- Make sure you’re exporting the right variable for your provider (see Authentication)
“You have exceeded your rate limit”
Section titled ““You have exceeded your rate limit””Slow down or switch to a model tier with a higher rate limit. Some providers offer higher limits with usage plans.
If rate-limit errors are recurring, BMO automatically attempts a bounded
recovery cascade (cap retry → same-provider model swap → cross-provider
chain → opt-in local last-resort). See the TPM recovery
feature page for inspection commands (bmo config show-tpm-recovery --runtime,
/recovery TUI slash, GET /v1/tpm-recovery/posture).
Session issues
Section titled “Session issues”BMO gets stuck and never responds
Section titled “BMO gets stuck and never responds”- Check your internet connection
- Press
escto interrupt the current turn.ctrl+copens the quit confirmation dialog. - Check provider status pages for outages
- Try a shorter prompt or a different model
Context window exceeded
Section titled “Context window exceeded”BMO should handle this automatically via Context Pruning. If you’re seeing errors:
- Check
/contextfor the latest prompt-budget preflight snapshot and recovery outcome - Leave
options.pruning.*andoptions.enable_auto_summarizeenabled unless you are intentionally debugging context shape - Disable prompt-expanding features such as
options.pruning.type_inject_for_readif you opted into them - Start a fresh session with
/newin the TUI
Tool failures
Section titled “Tool failures””Permission denied” on file write
Section titled “”Permission denied” on file write”- Check file permissions:
ls -la <file> - If using the Execution Sandbox, verify the sandbox allows writes to the path
”Command not found” in bash tool
Section titled “”Command not found” in bash tool”The agent’s shell environment may differ from your interactive shell. Make sure
required tools are in $PATH before launching BMO, or start BMO from the same
environment where those tools already resolve.
LSP not responding
Section titled “LSP not responding”- Ask BMO to use the
lsp_restarttool, or restart BMO - Check that the LSP binary is installed and in
$PATH - Verify your
[lsp.<name>]config points to the correct binary, or rely on auto-LSP root detection if you have not configured an explicit server
MCP issues
Section titled “MCP issues”MCP server not connecting
Section titled “MCP server not connecting”- Confirm the server is running: check logs or process list
- Verify the
urlin your MCP config matches the server address - For SSE transport, check firewall rules
MCP tools not appearing
Section titled “MCP tools not appearing”After changing MCP config, restart BMO so it can reconnect and rebuild the tool list for the session.
Build and install issues
Section titled “Build and install issues””go: command not found”
Section titled “”go: command not found””Install Go from go.dev/dl. BMO requires Go 1.26+.
Build fails with module errors
Section titled “Build fails with module errors”cd bmo && go mod tidy && go build ./...Getting more help
Section titled “Getting more help”- Search GitHub Issues
- Check the FAQ
- Open a new issue with your Go version, OS, BMO version (
bmo --version), and steps to reproduce