github/copilot-sdk
Documented errors, page 6 of 6. Back to github/copilot-sdk
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| session_fs.initial_working_directory is required | validation | error | configuration, python, session-fs, validation |
| failed to delete session | exception | error | delete-session, backend-error, session |
| Interrupted while starting in-process runtime host. | exception | error | java, ffi, interruption, concurrency |
| connection_token must be a non-empty string | validation | error | python, validation, connection |
| In-process FFI runtime library not found at | exception | error | ffi, file-not-found, runtime |
| session_fs.session_state_path is required | validation | error | configuration, python, session-fs, validation |
| Session is not connected — RPC client is unavailable | exception | error | session, rpc, not-connected |
| failed to download checksums | console | error | network, http, download, go |
| Missing required field 'cwd' in SessionContext | validation | error | python, deserialization, session-context, schema |
| policy must not be null | validation | error | null-argument, event-handling, api-misuse |
| runtime assets hash mismatch | exception | error | checksum, integrity, archive |
| failed to hash existing runtime wrapper | console | error | file-io, hashing, sha256, cache |
| Copilot runtime wrapper and adjacent runtime.node must both… | exception | error | corrupt-file, runtime, empty-file, packaging |
| CreateSessionFsProvider returned null. | exception | error | configuration, session-fs, null-provider |
| failed to gracefully shut down runtime | exception | error | go, shutdown, process |
| failed to write runtime.node | console | error | zstd, compression, disk-full, native-addon |
| invalid systemMessage.transform payload | validation | error | validation, payload, system-message, rpc |
| URIConnection requires a non-empty URL | panic | error | go, panic, url, connection, validation |
| JSON-RPC frame is missing the Content-Length header. | exception | error | jsonrpc, framing, missing-header |
| Invalid hooks invoke payload | validation | error | validation, payload, hooks, typescript |
| Native runtime not found on classpath: — add the matching… | exception | critical | classpath, native-loader, missing-dependency, maven |
| Unsupported Copilot CLI platform | validation | error | platform, unsupported-os, nodejs |
| Client is not started. Call StartAsync first. | exception | error | dotnet, async, lifecycle |
| Copilot runtime wrapper not found at | exception | error | file-not-found, runtime, path |
| failed to close socket | exception | warning | go, network, tcp |
| failed to chmod binary | console | error | permissions, chmod, filesystem, go |
| Exception of type 'System.ObjectDisposedException' was… | exception | error | dotnet, disposed, lifecycle |
| Invalid Unicode escape at position <pos-1> | validation | error | java, json, parsing, unicode, escaping |
| Missing required field 'message' in StopError | validation | error | python, deserialization, stop-error, schema |
| CLI process exited before announcing port | exception | critical | subprocess, crash, startup, tcp |
| CopilotClientOptions.BuiltinPluginDirectories must contain… | validation | error | dotnet, validation, paths |
| Failed to load FFI runtime library | exception | critical | ffi, native-library, dll-not-found, load-failure |
| failed to log message | exception | error | go, logging, rpc, session |
| reading runtime assets | exception | error | io, assets, archive |
| Expected a non-empty string token when reading | exception | error | json, deserialization, dotnet, empty-string |
| Expected string for ToolBinaryResultType. | exception | error | json, deserialization, dotnet |
| runtime package contains no retained assets | console | error | go, bundler, archive, empty-result |
| copilot_runtime_host_start failed (library ''). | exception | critical | java, ffi, native, startup |
| Copilot runtime wrapper at | exception | error | file-not-found, runtime, native-module, packaging |
| Expected null at position | validation | error | java, json, parsing, null |
| at is empty. | exception | error | filesystem, empty-file, corrupted-install, nodejs |
| Failed to download from | exception | error | network, http, download, retry |
| failed to stat binary | console | warning | filesystem, stat, race, go |
| Timeout waiting for CLI server to start | exception | error | timeout, startup, tcp, subprocess |
| Copilot CLI not found at | exception | critical | file-not-found, cli, environment, path, python |
| Expected boolean at position | validation | error | java, json, parsing, boolean |
| FfiRuntimeHost has not been started. | exception | error | ffi, initialization, dotnet |
| Client not connected. Call start() first. | exception | error | lifecycle, not-connected, initialization |
| No runtime version is pinned. | exception | error | configuration, missing-version, development-install |
| failed to unmarshal delete response | exception | error | json, unmarshal, delete-session |
| failed to unmarshal getForeground response | exception | error | json, unmarshal, foreground-session |
| failed to extract binary | console | error | go, io-copy, tarball, disk-full |
| failed to extract license | console | error | go, io-copy, gzip, corruption |
| SystemMessageSection value cannot be null. | exception | error | json, deserialization, dotnet, null |
| Invalid auto mode switch request payload | validation | error | validation, payload, auto-mode, typescript |
| Client not started. Call start() first. | exception | error | jsonrpc, lifecycle, not-started |
| invalid auto mode switch request payload | validation | error | validation, payload, auto-mode, rpc |
| CopilotClient was created with mode: 'empty' but neither… | validation | error | |
| failed to connect to CLI server at | exception | error | network, tcp, connection, go |
| Failed to start in-process runtime host. | exception | error | java, ffi, wrapped-exception |
| SHA256SUMS.txt does not contain | console | error | checksum, release, versioning, go |
| Invalid port in cliUrl | validation | error | |
| invalid AskUserVariant | validation | error | go, validation, enum |
| timed out gracefully shutting down runtime after | exception | warning | go, timeout, shutdown |
| failed to read checksums | console | error | network, http, io, go |
| failed to unmarshal getLastId response | exception | error | json, unmarshal, session-id |
| opening runtime assets | exception | error | gzip, archive, integrity |