charmbracelet/crush
Documented errors, page 2 of 6. Back to charmbracelet/crush
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| cannot notify change for unopened file | exception | error | lsp, diddchange, state-management |
| execute template | exception | error | template, html-template, rendering, cli |
| failed to decode MCP prompt response | exception | error | mcp, json, http, decoding |
| token request failed: status | exception | error | http-status, api-error, oauth-device-flow, device-code-expired |
| failed to get current user | exception | error | go, os-user, container, environment |
| failed to access file | exception | error | filesystem, permissions, edit, file-creation |
| failed to apply edit | exception | error | lsp, workspace-edit, position-encoding |
| failed to enable docker MCP | exception | error | http-client, network, mcp, docker, wrapped-error |
| failed to override models | exception | error | go, model-override, cli, configuration |
| small model provider not configured | exception | error | config, provider, model, agentic-fetch |
| agent processing failed | exception | error | go, llm-provider, streaming, transient |
| failed to wait for MCP initialization | exception | error | go, mcp, initialization, timeout |
| name exceeds characters | validation | error | skills, validation, frontmatter, yaml |
| no sessions found | exception | error | sessions, cli, empty-state, sqlite |
| server health check failed | error_code | error | http, health-check, network, client |
| session ID is required for executing shell command | validation | error | go, session, permissions, shell |
| coder agent is not initialized | exception | error | workspace, agent-lifecycle, sentinel-error |
| failed to decode MCP pending auth | error_code | error | json, decoding, mcp, client |
| failed to gather stats from projects | exception | error | stats, filesystem, projects, cli |
| timeout waiting for agent | exception | error | timeout, network, startup, go |
ErrUnsupported %w: %w | error_code | warning | http, version-compatibility, shutdown, sentinel-error |
| invalid API key format for provider | validation | error | config, api-key, alibaba, validation |
| requested channels differ from the existing workspace… | exception | error | configuration, workspace, channels |
| session ID is required for downloading files | validation | error | session, context, permissions |
| coder agent configuration is missing | exception | critical | config, agent, startup |
| failed to write file | exception | error | filesystem, file-write, go, edit-tool |
| mcp sse config requires a non-empty 'url' field | validation | error | mcp, config, sse, validation |
| session ID is required for reading MCP resources | exception | error | session, context, mcp |
| failed to decode session | exception | error | http, json-decode, client |
| failed to get MCP auth URL: status code | http | error | http, status-code, mcp, oauth, client |
| failed to read skill | exception | error | http-client, network, skills, wrapped-error |
| failed to disable docker MCP: status code | http | error | http-client, http-status, mcp, docker, api-error |
| invalid lsp args | exception | error | lsp, config, args-resolution |
| not a valid bedrock api key | validation | error | config, aws, bedrock, api-key, validation |
| read skill | error_code | error | skills, file-io, filesystem, not-found |
| env | exception | error | config, environment-variables, mcp, lsp |
| failed to create workspace: server kept shutting down | console | error | server, workspace, retry, shutdown, socket |
| failed to initialize lsp client | exception | error | lsp, initialization, handshake |
| failed to refresh MCP prompts | error_code | error | network, http, mcp, context |
| authorization failed | exception | error | oauth, device-flow, copilot, authorization |
| clipboard is empty or holds an unsupported format | error_code | info | go, clipboard, empty-content |
| failed to create OAuth handler for mcp | exception | error | mcp, oauth, http, initialization |
| client has been retired | exception | error | lifecycle, client-id, reconnect |
| failed to start crush server | console | error | process-spawn, exec, go |
| server is hosting live workspaces | exception | warning | shutdown, lifecycle, concurrency |
| session ID is required for creating a new file | exception | error | session, context, tool |
| failed to get session history files | exception | error | http, network, client |
| failed to load configuration | console | error | config, cli, validation |
| [Job ] error executing command | exception | error | go, shell, background-process, exit-code |
| no workspace config path configured | exception | error | config, workspace, sentinel-error |
| error starting background shell | exception | error | go, shell, background-process |
| failed to refresh OAuth token for provider | exception | error | oauth, token-refresh, network |
| failed to update agent | error_code | error | network, http-client, rest-client, agent-update |
| copilot token request failed | exception | error | oauth, copilot, http, token-refresh, github |
| edit : only the first edit can have empty old_string (for… | validation | error | validation, edit, tool-parameters |
| failed to get current working directory | console | warning | cli, cobra, flags |
| failed to decode skills | exception | error | http-client, json-decode, skills, contract-mismatch |
| server error | exception | error | go, http-server, cli, network |
| error parsing parameters | validation | error | json, mcp, parsing, parameters |
| failed to fetch provider from Hyper | exception | error | network, http, hyper, providers |
| header | exception | error | config, mcp, variable-resolution, headers, env |
| error creating file history | exception | error | database, sqlite, file-history, edit-tool |
| file lock is held by another process | error_code | warning | go, file-lock, concurrency, single-instance |
| invalid lsp env | exception | error | lsp, config, environment |
| failed to crawl for stats | exception | error | stats, filesystem, crawl, cli |
| failed to read skill: status code | http | error | http-client, http-status, skills, api-error |
| not found | exception | error | http-404, workspace, retry |
| failed to decode MCP auth URL | error_code | error | json, decoding, mcp, oauth, client |
| failed to get last assistant message | exception | error | go, sqlite, session-restore, persistence |
| failed to parse HTML | exception | error | html, parsing, go |
| failed to refetch Hyper provider | exception | error | network, http, provider-catalog, hyper |
| invalid edit type | exception | error | lsp, workspace-edit, protocol, type-mismatch |
| : -- expects true/false, got | validation | error | config, flags, validation |
| unknown platform | console | error | cli, unsupported-value, logout, provider |
| cannot stat | exception | warning | filesystem, stat, lookup |
| failed to get session: status code | http | error | http, status-code, session, not-found |
| failed to start agent processing stream | exception | error | go, llm-provider, streaming, authentication |
| session ID is required for accessing directories outside… | exception | error | permissions, filesystem, session |
| failed to delete workspace: status code | http | error | http-status, http-client, workspace |
| failed to gather stats | exception | error | database, sqlite, query, go |
| could not create request | exception | error | http, url-parsing, configuration, go |
| failed to apply text edits | exception | error | lsp, workspace-edit, text-edit, encoding |
| panic | panic | error | panic, recovery, mcp |
| parse | error_code | error | shell, expansion, parsing, configuration |
| task agent not configured | exception | error | config, agent, subagent, missing-definition |
| error checking file | exception | error | go, filesystem, permissions, os-stat |
| failed to initiate session agent processing: status code | http | error | http, server-error, status-code, agent-init |
| failed to marshal schema | exception | error | json, schema, serialization |
| mcp ' ' not available | exception | error | mcp, session, lookup |
| failed to create server working directory | console | error | filesystem, directory, permissions, cache |
| failed to get config | console | error | cli, network, api-client, config |
| failed to refresh MCP tools | exception | error | network, http-client, mcp |
| failed to configure providers during reload | exception | error | providers, configuration, oauth |
| failed to refresh OAuth token | error_code | error | http-client, oauth, network |
| old_string appears multiple times in the file. Please… | exception | error | string-match, ambiguity, edit-tool, validation |
| device code request failed | exception | error | oauth, device-flow, http, github, copilot |
| failed to read response body | exception | error | network, http, io, timeout |
| lost connection to the crush server | exception | error | network, connectivity, sentinel-error |
| target file already exists and overwrite is not allowed | exception | error | lsp, filesystem, rename, workspace-edit |
| failed to create data directory | error_code | error | filesystem, mkdir, permissions, go |