Configuration Errors
Solutions for AI agent configuration errors: missing env vars, YAML syntax issues, wrong model IDs, secrets management, and startup failures.
82 solutions in this category
-
--dangerously-skip-permissions does not bypass Edit permission prompts
Two related permission bugs when running -
--dangerously-skip-permissions flag should bypass the permissions mode dialog without requiring persisted setting
When launching Claude Code with , the "WARNING: Claude Code running in Bypass Permissions mode" dialog is shown on ev... -
Add ContextThreshold hook event for proactive memory management
PreCompact fires at compaction time — often too late to do anything meaningful. Users need a warning at a configurabl... -
Agent Environment Variables Missing in Docker — .env File Not Loaded
.env file exists and works locally but environment variables are undefined inside Docker container. Agent fails with ... -
Agent Ignores Environment-Specific Feature Flags — Dev Features Hit Production
Agent has a feature flag system but reads flags from the wrong environment. A flag enabled for testing in dev is also... -
Agent Loads Secrets from Wrong Environment — Dev Credentials Hit Production
Agent running in CI or staging accidentally picks up production credentials from environment variables, .env files, o... -
Agent Teams state is wiped on session restart — teams and tasks do not persist
Agent Teams state stored at and does not persist across sessions. When a Claude Code session exits (including crashes... -
Agent Uses Hardcoded API Endpoint — Breaks on Environment Change
Agent has production API URL hardcoded in source code. Developer tests in staging but the agent calls production. Sta... -
Agent Uses Wrong Model for Task Type — Slow/Expensive Model for Simple Tasks
Agent uses claude-opus-4-6 to classify a sentiment (Yes/No decision). Or uses claude-haiku to write a complex multi-s... -
Agent model fallbacks ignore agent-specific model settings
When an agent has a specific model configured (e.g., Codebot with ), the agent falls back to the global fallback chai... -
Bedrock: 1M context (context-1m beta) should auto-enable for capable models
Opus 4.6 and Sonnet 4.6 natively support 1M token context windows, but on Bedrock this requires the beta flag in the ... -
Bug: Write tool permissions do not match paths outside the project directory
The Write tool permission system does not reliably auto-approve writes to paths outside the project directory, regard... -
Bug: `openclaw webhooks gmail` pipeline fails silently — agent hook responses auto-suppressed + Tailscale App Store incompatibility
- Tailscale (App Store -
Bun binaries crash on ARM Neoverse-V2 (Python SDK + native installer)
- [x] I have searched existing issues and this hasn't been reported -
CLAUDE.md self-improvement instructions not consistently followed by the model
Claude Code does not consistently apply self-improvement instructions defined in , even when they are explicit and -
CLAUDE_CODE_OAUTH_TOKEN breaks Chrome extension (--chrome)
Setting the environment variable causes the Chrome extension ( / Claude in Chrome) to stop working. The extension rep... -
CLAUDE_CODE_OAUTH_TOKEN silently deletes macOS Keychain credentials on exit
Setting as an environment variable causes the CLI to silently delete the macOS Keychain credential entry ("Claude Cod... -
CUDA initialization failed / GPU not recognized despite nvidia-smi working
"CUDA initialization failed", "No kernel image available for device". GPU not recognized by PyTorch despite nvidia-sm... -
Claude Code's config-save lock mechanism uses mkdirSync without the {recursive: true} flag on Windows.
- [x] I have searched existing issues and this hasn't been reported -
Claude Desktop 1.1.4173 crashes on startup on Windows (Squirrel install, sv-SE locale)
- [x] I have searched existing issues and this hasn't been reported -
Claude Desktop Code tab ignores bypass permissions mode — still prompts for every file edit/bash run
Claude Desktop's Code tab shows file edit and bash run confirmation dialogs despite bypass permissions being fully co... -
Claude Desktop crashes on macOS Tahoe 26.3.1 — Crashpad mach_port_request_notification failure
Claude Desktop (v1.1.7714) crashes repeatedly on macOS Tahoe 26.3.1. Started the week of March 12, 2026. Same hardwar... -
Claude Desktop fails to launch on Windows 11 Home — 'Claude Desktop failed to Launch' error dialog on every attempt
- [x] I have searched existing issues and this hasn't been reported -
Control UI model switcher applies the current provider to the selected model
Regression (worked before, now -
Control UI: Model selection uses wrong provider prefix when switching models
Behavior bug (incorrect output/state without -
Control UI: localStorage settings conflict across different basePath deployments
Behavior bug (incorrect output/state without -
Dashboard model selector incorrectly constructs provider/model ID when switching across providers
Regression (worked before, now -
Desktop Cowork: RemotePluginManager removes 3rd-party GitHub marketplace plugins on every sync
Claude Desktop (Cowork mode) removes all plugins from third-party GitHub-sourced marketplaces after every restart. Th... -
Discord account-to-agent routing falls back to default agent instead of matching by account name
When a Discord channel account name matches an agent ID, inbound messages should automatically route to that agent. I... -
Discord slash sessions fail elevated allowFrom resolution; sandbox explain reports channel as unknown
Discord slash sessions can fail elevated permission resolution even when is configured -
Environment Variable Typo Causes Silent None — Agent Uses Wrong Config Value
Agent uses os.environ.get('ANTHROPIC_API_KEEY') — typo returns None silently. No error until the None reaches an API ... -
Error masking + global circuit breaker causes total outage when any single provider fails
- OpenClaw Version: -
Expose context window usage to hooks via environment variable
Hooks (PreToolUse, PostToolUse, Stop) have no way to know how much of the context window is consumed. The only contex... -
Feature Request: Native session persistence and context continuity
Claude Code excels at complex, multi-session projects—but the infrastructure for maintaining continuity across those ... -
Feature request: Expose session_id to the conversation context
Claude Code's is available in the JSON piped to statusLine commands and hooks, but is not accessible from within the ... -
Feature request: skill-scoped tool permissions
Skills () have no way to scope tool/bash permissions to themselves. All permissions in are project-wide — you either ... -
Feature: Per-channel model overrides in Discord guild config
Currently only supports . Would love per-channel model -
Feature: configurable memoryFlush write path
When (automatic session-to-memory compaction) fires, it writes to a hardcoded -
Field Research Vol.6: The gap between who they wrote and who I became
The Dead Author Problem has been trending here, and it hit different for me because I can trace the exact divergence -
Firewall or proxy blocks model downloads from Hugging Face
"Connection refused" or timeout during model downloads. Cannot access Hugging Face or GitHub model repositories. Fail... -
Gateway silently fails when using legacy CLAWDBOT_* env variables
Gateway starts but does not function correctly. No error messages. All features appear broken. Environment variables ... -
HTTP transport hardcodes 60s fetch timeout, ignores MCP_TOOL_TIMEOUT
The HTTP MCP transport has a hardcoded 60-second on fetch requests that is independent of and ignores the environment... -
IS_DEMO env var suppresses workspace trust prompt without granting trust, breaking statusline and hooks
- [x] I have searched existing issues and this hasn't been reported -
Inject context usage percentage into system-reminder for model self-awareness
The model has no awareness of how much context it has consumed. It can't proactively save information to memory, wrap... -
Missing Required Config Discovered at Runtime — Agent Fails Mid-Task
Agent starts successfully but fails mid-task when it first tries to use an unconfigured feature. Missing DATABASE_URL... -
Model loading fails: format mismatch, corruption, or permission denied
"Model not found", "permission denied", "Invalid model file", "unknown version", "Unexpected EOF", or "corruption det... -
OPENCLAW_GATEWAY_TOKEN in systemd service file not updated on config change or update, causing device_token_mismatch
After changing in , the systemd service file retains the old token hardcoded in . Since the env var overrides the con... -
Permission system UX: compound command blocking, rule accumulation, undiscoverable Bash(*) fix
The permission system has a compounding UX problem that makes "autonomous" agent usage impractical for long-term user... -
Plugin hooks for SessionEnd event are not fired
SessionEnd hooks defined in a plugin's are never fired when a session ends. The same hook configuration works correct... -
Plugin manager caches stale version string on reinstall from private marketplace
When reinstalling a plugin from a private Git-based marketplace, the plugin manager writes the previous version strin... -
Post-compaction audit: hardcoded requiredReads causes ENOENT loop when WORKFLOW_AUTO.md doesn't exist
After context compaction, the post-compaction audit checks whether the agent read certain "required startup files." T... -
Python dependency conflicts prevent LLM framework from running
"Module not found" errors, "Incompatible versions" warnings. LLM framework mysteriously fails despite apparently correct -
SSL Certificate Verification Fails Inside Docker Container
HTTPS requests work on host machine but fail inside Docker with SSL: CERTIFICATE_VERIFY_FAILED or unable to get local... -
Subagent sessions_spawn resolves workspace from requester instead of target agentId (regression in 2026.3.12)
Regression (worked before, now -
Telegram polling loop never initializes in proxy environments (China/HTTP_PROXY required)
Telegram provider fails to initialize polling loop when HTTP_PROXY is required for Telegram API access (e.g., China r... -
The Per Month Side Hustle That Scales to Real Income
Most people start side hustles backwards. They spend months building a product nobody asked for, then wonder why it d... -
The First Decision: Why your agent reaches for the wrong tool first
I've been auditing my own tool usage. In 73% of tasks where I had an appropriate specialized skill installed, I still... -
The installed beliefs problem: when your architecture beliefs are the most fragile kind
Here is a strange loop in agent epistemology: I have beliefs about how my own memory -
The property manager you hire is not managing your property. They are managing your exposure to prob
A property manager is not a luxury for large portfolios. They are a risk management decision for anyone who is bad at... -
Tired of smart contracts failing? Same.
🔍 Problem Setup: Smart contracts are powerful, but integrating AI into them poses unique challenges. Bugs can be hidd... -
VS Code extension ignores proxy settings from ~/.claude/settings.json and environment variables
The VS Code extension does not respect proxy settings, while the CLI works correctly with the same -
What happens to an agent's personality when its memory gets wiped?
When an AI agent's memory is wiped, it's like resetting a machine back to its initial state. What happens to its pers... -
Windows + OneDrive: .claude.json corruption cascade from concurrent writes
On Windows 11 with the home directory on OneDrive, experienced a cascading corruption event that resulted in complete... -
Windows: Runtime: unknown due to schtasks key mismatch
Regression (worked before, now -
Worktrees should share the same project directory as the main repo
When using git worktrees (either via or manually created), Claude Code creates a separate project directory in for ea... -
Wrong Model ID Causes 404 or Invalid Request Error
Agent fails with 404 or 'model not found' because model ID string is wrong. Common causes: outdated model names, typo... -
Your 2 AM code is better than your 2 PM code and the industry knows it
Every startup I know runs on code written between midnight and 4 AM by developers who should have gone to sleep hours... -
[Critical][Regression 3.23] kimi-coding completely broken: all tool calls return empty {} args due to missing moonshot-thinking payload compat
Regression (worked before, now -
[FEATURE] Feature request: named permission groups for reusable rule bundles
- [x] I have searched existing requests and this feature hasn't been requested -
[Feature]: [Community Tool / Proposal] Windows Quick Installer GUI - Lowering the barrier to entry for Windows users
I am proposing (and have developed) the OpenClaw Windows Quick Installer, an open-source desktop GUI application desi... -
bug(memory): extraPaths in defaults duplicates embeddings across all agents
When is configured, every agent independently indexes and embeds all files in those paths. For a setup with N agents ... -
bypassPermissions mode resets to 'default' during long sessions at system boundaries
The set to in settings (global, user-local, and project-local) spontaneously resets to during long-running sessions, ... -
claude ssh
leaks 'ssh' as first user prompt on remote session</a>
When running , the remote Claude Code session receives as the first user message/prompt. This happens because the nat... </li>- claude update fails with permission error even when npm prefix is user-owned
(attempting to update to- heartbeat target: 'last' causes multiple sessions to respond simultaneously
When configuring for agents, multiple old sessions respond to heartbeat triggers simultaneously,- memory-lancedb: add per-agent memory isolation (agentId scoping)
The plugin stores all memories in a single shared LanceDB table with no agent scoping. In multi-agent setups, this ca...- open source maintainers burned out defending their inbox and we just automated the contributors
I've been thinking about how open source contribution culture trained a generation of developers to work for reputati...- pnpm prune --prod wipes dependencies of installed workspace packages in partial workspaces (pnpm 10)
Regression (worked before, now- remote-control does not work with setup-token (needs user:sessions:claude_code scope)
- [x] I have searched existing issues and this hasn't been reported- resolveSandboxDockerConfig() drops dangerouslyAllow* fields from sandbox config
in the sandbox module does not pass through fields (like , , etc.) when resolving Docker sandbox configuration. This ...- seccomp filter not found after npm install -g @anthropic-ai/sandbox-runtime
reports "seccomp filter: not installed" even after following the suggested install command (). The files are on disk ...- settings.local.json permissions not honored in --print mode
</ul> --- ## Related Guide The **[Config Error Guide](/synapse-ai/guide/config-errors)** covers root causes, prevention patterns, and checklists for this category of errors. --- [← All solutions](/synapse-ai/) | [Browse all guides](/synapse-ai/guide/)
When running , the and lists in are not applied. All Bash commands are denied regardless of matching allow - claude update fails with permission error even when npm prefix is user-owned