github/copilot-sdk
Documented errors, page 3 of 6. Back to github/copilot-sdk
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| options must specify a model | validation | error | validation, missing-field, set-model |
| writer actor dropped ack without responding | exception | error | rust, async, broken-pipe, shutdown-race |
| CopilotClientOptions. | validation | error | java, in-process, configuration, unsupported-option |
| Could not resolve . Reinstall @github/copilot-sdk so its… | exception | error | npm, optional-dependencies, install, platform-package, nodejs |
| multiple packages and found in | console | error | go, bundling, packages, conflict |
| ELF probe too small: + size + bytes | exception | error | elf, binary-parsing, file-io, java |
| Failed to make Copilot CLI executable: | exception | error | permissions, security-manager, java, filesystem |
| Failed to serialize FFI JSON parameter. | exception | error | java, jackson, json, serialization |
| Missing required fields in PingResponse: message= | validation | error | python, deserialization, ping, schema |
| CopilotClient is in Mode = CopilotClientMode.Empty but the… | validation | error | dotnet, configuration, tools, session, validation |
| failed to write output binary | console | error | zstd, compression, filesystem, disk-full |
| invalid tool name: must not be empty | panic | error | go, panic, validation, toolset, empty-value |
| name is required when using define_tool with handler= | validation | error | python, tools, valueerror, missing-argument |
| failed to create temp dir | console | error | filesystem, temp-dir, environment |
| Filesystem does not support atomic moves; cannot safely… | exception | error | java, filesystem, atomic-move, native |
| Could not determine directory for | exception | error | path, invalid-path, runtime |
| failed to download | console | error | network, download, http, go |
| workingDirectory is not supported with… | validation | error | rpc, response-validation, server |
| writer actor has shut down | exception | error | rust, ipc, broken-pipe, shutdown |
| failed to apply mode-specific session options | exception | error | session, config, mode |
| failed waiting for CLI server to start | exception | error | process, timeout, context, startup |
| JSON Schema serialization cannot fail | panic | error | rust, serde, json-schema, panic |
cyclic_value contains a cyclic reference at | validation | error | json, validation, cycles, factory-result |
| Exit plan mode handler error | exception | error | handler-exception, plan-mode, rpc |
| Failed to deserialize permission request | exception | error | deserialization, json, schema-mismatch, dotnet |
| failed to extract CLI license | console | error | tarball, extraction, license, cli |
| TcpConnectionToken must be a non-empty string | validation | error | java, configuration, validation, tcp |
| Invalid off/len for buffer of length | exception | error | bounds, io, ffi, argument-validation |
| {response.Error ?? "Failed to set foreground session"} | exception | error | session, rpc, foreground, dotnet |
| Server port not available | exception | error | tcp, lifecycle, config |
| An in-process FFI runtime library is already loaded from… | exception | error | java, jna, native, singleton |
| failed to read tar | console | error | tar, corruption, extraction, go, license |
| failed to resume session | exception | error | rpc, session, resume, network |
| Invalid tool name ' ': tool names must match… | exception | error | toolset, naming, regex-validation, dotnet |
| must be 'true' or 'false' | validation | error | validation, boolean, tool-parameters, type-mismatch |
| Unescaped control character at position <pos-1> | validation | error | java, json, parsing, encoding |
| Copilot request was cancelled by the runtime. | exception | error | cancellation, streaming, python, copilot |
| No bearer-token provider registered for provider | exception | error | authentication, bearer-token, configuration, dotnet |
| SDK protocol version mismatch: SDK supports versions | exception | critical | java, protocol-version, version-mismatch, compatibility |
| Expected JSON object for `params` of single-object-param… | exception | error | jsonrpc, params-shape, deserialization, protocol |
| Incomplete Unicode escape at position <pos-2> | validation | error | java, json, parsing, unicode, escaping |
| SQLite transactions are not supported by this SessionFs… | exception | error | python, sessionfs, sqlite, provider, unsupported-operation |
| failed to disconnect session | exception | error | go, session, rpc, lifecycle |
| failed to download CLI binary | console | error | download, network, http, release-assets |
| GitHubToken and UseLoggedInUser cannot be used with… | panic | error | go, panic, authentication, connection, configuration |
| Elicitation is not supported by the host. Check… | exception | error | capabilities, elicitation, ui, unsupported-feature |
| factory.run and factory.resume are not allowed while a… | exception | error | reentrancy, async-local-storage, lifecycle, nodejs |
| failed to parse package clause in | console | error | go, parsing, bundling, file |
| file not found in tarball | console | error | tarball, file-not-found, packaging |
| Runtime process not started | exception | error | stdio, process, lifecycle, dotnet |
| Set environment variables via either the client-level env… | validation | error | argument-validation, authentication, python |
| Tool ' ' received non-object arguments, but its schema does… | exception | error | tool-invocation, schema, arguments, dotnet |
| Communication error with Copilot CLI | exception | critical | process, cli, io, transport, dotnet |
| CreateSessionFsProvider is required in the session config… | exception | error | configuration, session-fs, missing-handler |
| failed to parse port | exception | error | process, parsing, port, protocol-mismatch |
| FfiRuntimeHost has already been started. | exception | error | java, ffi, lifecycle, illegal-state |
| Invalid value ' '. Expected 'inprocess', 'stdio', or unset. | validation | error | dotnet, environment-variables, configuration, cli |
| tool filter must be a ToolSet or list[str], not str. Pass a… | validation | error | type-mismatch, python, tools, api-usage |
| CLI process exited unexpectedly | exception | critical | go, process, crash, stderr |
| invalid value : expected "inprocess", "stdio", or unset | panic | error | go, panic, env-var, transport, configuration |
| Failed to download checksums from | exception | error | network, download, python, checksums |
| Failed to set foreground session | exception | error | |
| Unsupported Copilot runtime platform | exception | error | platform, unsupported-os, runtime |
| User input requested but no handler registered | exception | error | user-input, handler, session, registration |
| Elicitation is not supported by the host. Check… | exception | error | capability, elicitation, unsupported-operation, dotnet |
| failed to unmarshal setForeground response | exception | error | json, unmarshal, foreground-session |
| No user input handler registered | exception | error | user-input, handler-registration, configuration, dotnet |
| Parameter ' + param.name() + ' expected a numeric value for… | validation | error | java, rpc, type-mismatch, parameters |
| Process not started or stdout not available | exception | error | subprocess, startup, tcp |
| tool parameter schema must be a JSON object | panic | error | rust, json-schema, panic, validation |
| Factory limit " " must be a positive integer | validation | error | validation, configuration, limits |
| Failed to disconnect session | exception | error | disconnect, detach, retry |
| failed to read existing Go file | console | error | filesystem, file-read, go |
| Invalid cli_url format | validation | error | python, config, url-parsing, ipv6 |
| Expected a non-empty string value when writing | exception | error | json, serialization, dotnet, empty-string |
| failed to unmarshal sessions response | exception | error | json, unmarshal, list-sessions |
| invalid user input request payload | validation | error | validation, payload, rpc |
| CLI initial thread was not found | exception | error | windows, process-spawn, win32, threads |
| err.Error() | panic | error | go, panic, validation, sessionfs, configuration |
| Invalid escape sequence \ | validation | error | java, json, parsing, escaping |
| sessionFs.conventions must be either 'windows' or 'posix' | validation | error | configuration, validation, enum, sessionfs |
| Unknown AgentMode value: + value | validation | error | java, enum, rpc, validation |
| Cannot log after the factory run has settled | exception | error | lifecycle, logging, async |
| could not find copilotCliVersion in package.json or… | console | error | lookup, missing-key, package-lock, fallback |
| defaultValue is not supported for type | validation | error | java, validation, types |
| failed to marshal schema for type | panic | error | go, json, marshal, panic |
| Invalid port in cli_url | validation | error | python, config, url-parsing, port |
| Required parameter ' + param.name() + ' is missing from… | validation | error | java, rpc, tool-invocation, validation |
| Unexpected end of JSON | validation | error | json, parsing, truncated-input, streaming |
| Copilot CLI not found at | exception | error | |
| Elicitation is not supported by the host. Check… | exception | error | capabilities, ui, elicitation |
| Program header table offset outside probe window: + phoff | exception | error | elf, binary-parsing, file-io, java |
| binary not found after extraction | console | error | filesystem, extraction, go, verification |
| CopilotClient(mode='empty') requires base_directory… | validation | error | configuration, python, storage, client-init |
| Invalid cliUrl format | validation | error | |
| BuiltinPluginDirectories must contain only absolute paths… | validation | error | java, config, path, validation |
| CLI server process exited before reporting port | exception | error | go, process, startup, stderr |
| failed to fetch legacy package-lock.json | console | error | http, http-404, fallback, github |
| Invalid runtime asset inventory entry: | exception | error | native-loader, manifest, classpath, corrupt-artifact |
| Path to Copilot CLI is required. Please supply it via… | exception | error |