github/copilot-sdk

Documented errors, page 2 of 6. Back to github/copilot-sdk

Code / MessageTypeSeverityTags
unsupported elicitation content value type %T
exception error elicitation, type-mismatch, ui
SDK protocol version mismatch: SDK supports versions
exception critical java, protocol-version, compatibility, server
SessionFs capabilities declare SQLite support but the…
validation error
Unsupported architecture
exception error architecture, ffi, platform-support, napi
failed to unmarshal schema for type
panic error go, json, unmarshal, panic
copilot_runtime_connection_open failed.
exception critical ffi, native-library, connection, startup-failure
failed to hash runtime.node
console error hash, sha256, native-addon, filesystem
ExitPlanModeResult serialization cannot fail
panic error rust, serde, panic, invariant
Factory limit "maxAiCredits" must be a positive, finite…
validation error validation, factory, configuration, credits
Failed to serialize tool result
exception error python, json, serialization, tools
hashing existing binary
exception error filesystem, install, hashing
Set environment variables via either the client-level Env…
panic error go, panic, environment, configuration, duplicate-options
setModel cannot combine an explicit autoTier with…
validation error validation, conflicting-options, set-model
Unsupported platform tuple: os= + os + , arch= + arch + …
exception error platform, native-library, initialization, java
Request cancelled by runtime
exception warning cancellation, streaming, runtime
Runtime asset not found on classpath:
exception error classpath, missing-resource, java, native-assets
runtime package is missing prebuilds/
console error prebuilds, native-addon, tarball, platform
checksum mismatch for
console critical checksum, sha256, integrity, supply-chain, go
LLM inference response used after RPC connection closed
exception critical io, rpc, connection, lifecycle
is missing required Copilot CLI runtime files. Reinstall…
exception error npm, corrupted-install, missing-artifact, install, nodejs
elicitation schema property
exception error elicitation, schema, validation
SQLite is not supported by this provider
exception error sqlite, provider, unsupported
Could not determine a napi-rs prebuilds folder for FFI…
exception error ffi, platform, startup, dotnet
sessionFs.initialCwd is required
validation error configuration, validation, sessionfs, required-field
copilot_runtime_host_start failed
exception critical ffi, native-library, startup, runtime
UriRuntimeConnection.Url must be a non-empty string.
validation error dotnet, uri, validation
Runtime process exited unexpectedly
exception critical dotnet, process-lifecycle, startup, cli
Expected digit in number
validation error json, parsing, number-format, truncated-input
Invalid value ' '. Expected 'inprocess', 'stdio', or unset.
validation error argument-validation, session-fs, configuration
clazz must not be null
validation error java, null-argument, tool-registration, reflection
Invalid factory handle
exception error factory, handle, lifecycle, invalid-handle
LLM inference response writeResponse() called before…
exception error io, lifecycle, api-misuse
non_finite_number
contains a non-finite number at
validation error json, validation, numbers, factory-result
session_fs.conventions must be either 'posix' or 'windows'
validation error python, config-validation, client-init
Unsupported os.arch: + osArch
exception error platform, architecture, java, initialization
waiting for session.idle
exception error timeout, context, session
WebSocket response bridge is not attached
exception error websocket, initialization, internal-api
Published Copilot CLI is not a non-empty executable file:
exception error filesystem, executable, java, native-assets
Auto mode switch handler error
exception error handler-exception, auto-mode, rpc
Invalid user input request payload
validation error validation, payload, typescript, api-boundary
Unknown session
exception error session, rpc, lifecycle, dotnet
create_session_fs_handler is required in session config…
validation error
failed to write license
console error go, tarball, file-write, license-extraction
GitHubToken and GitHubTokenProvider cannot be used together.
validation error configuration, authentication, argument-validation, github-token, dotnet
Session is closed
exception error illegal-state, use-after-close, lifecycle
failed to unmarshal arguments into %T
exception error json, mcp, schema
Request cancelled by runtime
exception warning cancellation, streaming, async
SessionFS.SessionStatePath is required
validation error go, configuration, sessionfs, validation
Failed to coerce parameter ' + param.name() + ' to type +…
validation error java, rpc, jackson, coercion
Failed to connect to CLI server at
exception error network, tcp, connection, socket
Unknown GitHub token request reason
exception warning enum, version-mismatch, github-token, rpc, dotnet
agent_id must be a string
validation error type-error, dataclass, validation, python
An in-process FFI runtime library is already loaded from
exception error ffi, native-library, process-lifetime, duplicate-load
Copilot runtime wrapper and runtime.node must both be…
exception error runtime, download, corrupt-install
failed to unmarshal response
exception error json, rpc, unmarshal, schema
GitHub token provider returned neither a token nor…
exception error github, token, callback, contract, go
failed to close tarball file
console error io, filesystem, go, download
failed to parse legacy package-lock.json
console error json, parsing, http, fallback
SDK protocol version mismatch: SDK supports versions
exception error go, protocol-version, compatibility, handshake
Interrupted while waiting for callback data
exception error java, io, concurrency, interruption
Set environment variables via either…
validation error dotnet, configuration, environment-variables, child-process
unsupported elicitation string array item type %T
exception error elicitation, type-mismatch, ui
CliUrl is mutually exclusive with CliPath
validation error java, configuration, validation, client-construction
The value cannot be an empty string or composed entirely of…
exception error argument-validation, empty-string, polyfill, dotnet
CLI process exited unexpectedly.
exception critical java, cli, process-crash, startup
Copilot request response used after RPC connection closed.
exception error rpc, connection-closed, lifecycle, response
env is not supported with RuntimeConnection.forInProcess()…
validation error rpc, session-id, response-validation
failed to close output file
console error filesystem, tarball, io
Failed to delete session
exception error
failed to generate schema for type
panic error go, jsonschema, reflection, panic
Invalid cliUrl format
validation error
Unsupported os.name: + osName
exception error platform, unsupported-os, java, initialization
failed to hash runtime wrapper
console error hash, sha256, wrapper, filesystem
invalid tool name : tool names must match…
panic error go, panic, validation, naming, regex
No GitHub token provider registered for registration ID
exception error
failed to extract runtime wrapper compatibility entrypoint
console error tar, extraction, platform, go, release-package
LLM inference response writeResponse() called after…
exception error io, lifecycle, api-misuse
Parameter ' + param.name() + ' expected a numeric value for…
validation error java, rpc, tool-invocation, type-mismatch
Factory limit "timeoutSeconds" must not exceed
validation error validation, factory, configuration, timeout
reading runtime asset
exception error tar, io, embedded-assets
session.create returned sessionId
exception error session, id-mismatch, rpc, state
SessionFsConfig declares capabilities.sqlite but the…
validation error
timed out waiting for CLI process to exit after kill
exception error process, kill, timeout, hang
CopilotClient is in Mode = EMPTY but the session config did…
validation error java, empty-mode, tools, session
Could not resolve for Copilot CLI .
exception error npm, package-resolution, missing-dependency, nodejs
handler must not be null for tool ' + toolName + '
validation error java, validation, null-check, tool-registration
Received MCP OAuth request without a registered MCP auth…
console warning oauth, mcp, missing-handler, authentication
CLI process not started
exception error lifecycle, process-spawn, stdio, state
existing binary hash mismatch
exception error checksum, file-conflict, installation
failed to deserialize session.canvas.opened payload
console warning deserialization, canvas, schema, event
failed to hash existing output
console error file-io, hashing, sha256, cache
session.create response did not include a sessionId
exception error rpc, session, missing-field, response-contract
env is not supported with…
validation error python, in-process, environment, configuration
GitHub token provider returned neither a token nor…
exception error authentication, token-provider, invalid-state
GitHubToken and UseLoggedInUser cannot be used with CliUrl…
validation error java, configuration, authentication, client-construction
LLM inference response already finished
exception error http, lifecycle, double-call
LLM inference response startResponse() called twice
exception error http, lifecycle, double-call
No session found for sessionId
exception error session, rpc, state, lookup-failed
schema must be a valid JSON object string
validation error validation, json-schema, tool-parameters, format
SDK protocol version mismatch: SDK supports versions
exception error go, protocol-version, compatibility, version-mismatch