google-gemini/gemini-cli
Documented errors, page 2 of 3. Back to google-gemini/gemini-cli
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Invalid agent definition: Missing mandatory YAML… | exception | error | agent-loader, frontmatter, format, authoring |
| Invalid or unavailable mode | exception | error | acp, session, mode, configuration |
| LegacyAgentSession.send() only supports message sends for… | exception | error | agent-session, legacy, type-narrowing, validation |
| Failed to load session | exception | error | session, resume, error-wrapping, data-integrity |
| Host " " is not an allowed host for Google Credential… | exception | error | auth, google-credentials, security, allowlist |
| Download failed: HTTP | exception | error | network, download, gemma, http, binary |
| Invalid regex pattern in allowedExtensions setting | exception | error | extensions, security, regex, config, validation |
| Invalid syntax : Unclosed injection starting at index ('… | exception | error | prompt-processor, injection, parsing, shell, syntax |
| GCS bucket name is required. | validation | error | gcs, persistence, config, constructor, env-vars |
| Extension not found | exception | error | extensions, manifest, load |
| Loaded metadata for task | exception | error | persistence, gcs, a2a, metadata, migration |
| Failed to initialize chrome-devtools MCP client | exception | error | browser, mcp, lifecycle, race-condition |
| Environment variable | exception | error | auth, environment, config |
| Loopback OAuth endpoint | exception | error | oauth, loopback, ssrf-protection, local-development |
| Unknown result type from performInit | exception | error | init-command, version-drift, discriminated-union, exhaustive-switch |
| Error executing tool | exception | critical | tool, filesystem, disk-full, enospc, fatal |
| [Configuration] Untrusted workspace detected. Stripping… | console | warning | security, configuration, workspace-trust, mcp |
| Error: Issuer mismatch - possible OAuth mix-up attack. | http | error | |
| Firestore document ID could not be resolved. Please set the… | validation | error | firestore, validation, missing-argument, python |
| Failed to query LXC container | exception | error | sandbox, lxc, lxd, installation, permissions |
| Environment variable 'FIRESTORE_DOC' is required but was… | validation | critical | configuration, env-vars, firestore, cloudrun, python |
| tar.c command failed to create | exception | error | persistence, gcs, tar, filesystem, workspace |
| Agent ' ' execution failed | exception | error | agent-runner, antigravity-sdk, error-wrapping, python |
| Browser agent requires user consent to proceed. Please… | exception | error | browser, consent, first-run, privacy |
| Unable to find any remotes for repo | exception | error | extensions, git, network, installation |
| No valid skills found in | exception | error | skills, filesystem, config, validation |
| Remote agent ' ' requires a string 'query' input. | validation | error | a2a, agents, type-validation, config |
| Invalid repo URL | exception | error | extensions, git, validation, url-parsing |
| openIdConnect auth provider not yet implemented | exception | error | auth, oidc, not-implemented, factory |
| Security configuration not loaded. Cannot verify shell… | exception | error | prompt-processor, shell, configuration, security, context |
| Command ' ' failed with exit code | exception | error | subprocess, command-execution, shell, python |
| Failed to verify if URL resolves to private IP | exception | error | |
ETIMEDOUT Request timed out after | error_code | error | |
| [ ] Unable to set GeneratorConfig. Please provide a… | exception | critical | authentication, config, env-vars, startup |
| Cannot write extension settings to | exception | error | extensions, settings, filesystem, config |
| Invalid sandbox command | exception | error | sandbox, config, validation, fatal |
| \nPlease fix the configuration file(s) and try again. | exception | error | configuration, settings, json, validation, schema |
| runsc (gVisor) requires Docker. Install Docker, or use… | exception | error | sandbox, docker, gvisor, config, fatal |
ENOENT Sandbox Error: read_file failed for | exception | error | sandbox, filesystem, enoent, typescript |
| Invalid OAuth endpoint URL | exception | error | oauth, url-parsing, validation, mcp |
| Shell command confirmation required | exception | error | shell, policy, confirmation, security, permissions |
| Protocol " " is not secure. Google Credential provider… | exception | error | auth, google-credentials, security, https |
| [A2AClientManager] sendMessageStream Error | exception | error | a2a, error-handling, streaming, robustness |
| A2AClient cancelTask Error | exception | error | a2a, task, error-handling, non-error-throw |
| Path ' ' listed in SANDBOX_MOUNTS must be absolute | exception | error | sandbox, docker, mounts, validation, environment-variable, path |
| SANDBOX_ENV must be a comma-separated list of key=value… | validation | error | sandbox, docker, environment-variable, validation |
| Failed to install extension | exception | error | extensions, github, network, install |
| Agent executor not found in context. | exception | error | init-command, dependency-injection, command-context |
| Failed to parse inline agent card JSON for agent | exception | error | a2a, agent-card, json, validation |
| YAML frontmatter parsing failed | exception | error | agent-loader, yaml, parsing, authoring |
| Invalid state parameter | http | error | |
INVALID_STREAM ${event.value?.message?.trim() || 'Invalid stream received from model'} | error_code | critical | model-stream, fatal, gemini, typescript |
| Missing mount path ' ' listed in SANDBOX_MOUNTS | exception | error | sandbox, docker, mounts, filesystem, validation |
| Security violation: The path | exception | critical | security, path-traversal, validation, sandbox |
LOOP_DETECTED Loop detected, stopping execution | error_code | warning | agent-loop, loop-detection, gemini, typescript |
| OAuth endpoint origin | exception | error | oauth, origin-pinning, ssrf-protection, security |
| OAuth endpoint " " resolves to private network address " "… | exception | error | oauth, dns, ssrf-protection, dns-rebinding, private-ip |
| Private IP addresses are not allowed for the extension… | exception | error | network, ssrf, security |
WEB_FETCH_PROCESSING_ERROR Access to blocked or private host | exception | error | |
| getErrorMessage(error) | exception | error | |
| OAuth endpoint " " points to private or reserved IP address… | exception | error | oauth, ssrf-protection, private-ip, network-security |
| Invalid domain in allowedDomains | exception | error | browser, config, validation, domain-allowlist |
| Could not read file | exception | error | filesystem, agent-loader, io, permissions |
| [A2AClientManager] sendMessageStream Error | exception | error | a2a, streaming, network, error-handling |
| Extension cannot be updated, type is unknown. | exception | error | extensions, updates, metadata, config |
| Invalid OAuth endpoint protocol | exception | error | oauth, protocol-validation, ssrf-protection, url-parsing |
| Path is not a directory | exception | error | |
| User cancelled account validation | exception | warning | auth, user-cancellation, code-assist, typescript |
| Download failed: No response body | exception | error | network, download, gemma, http |
| GitHub token is missing. Cannot authorize Pull Request… | exception | critical | github, auth, missing-token, python |
| No valid skills found in | exception | error | skill, installation, frontmatter, validation, filesystem |
| Extension " " was not already installed, cannot update it. | exception | error | extensions, update, state-mismatch |
| Command requires a workspace. | exception | error | acp, command, init, workspace |
| Invalid retention period format | exception | error | session-cleanup, config, validation, regex, parsing |
| Failed to find session | exception | error | session, resume, filesystem, error-wrapping |
| Failed to mount workspace into LXC container | exception | error | sandbox, lxc, lxd, mount, filesystem, permissions |
| Invalid response code downloading | exception | error | network, github, download, http, setup-github, rate-limit |
| Access to blocked or private host | exception | error | network, security, ssrf, web-fetch |
| Agent ' ' not found. | exception | error | a2a, agent-loading, validation, naming |
| Google Antigravity SDK is not installed. | exception | critical | dependencies, antigravity-sdk, cloudrun, python |
| Invalid retention period | exception | error | session-cleanup, config, validation, business-rule |
| Installing extension from source | exception | error | extensions, security, allowed-extensions, policy |
| Installing extensions from remote sources is disallowed by… | exception | error | extensions, security, git, policy |
| Operation aborted | exception | warning | a2a, agents, abort, cancellation |
| Workspace path does not exist | validation | error | workspace, filesystem, config, startup |
| Failed to load session data | exception | error | session, resume, data-integrity, filesystem, parsing |
| Firestore document specification must be a JSON object. | validation | critical | configuration, firestore, json-schema, python |
| Cannot install extension | exception | error | extensions, filesystem, conflict, install |
| Error: Missing issuer parameter in response. | http | error | |
| Invalid environment variable value for | exception | error | extensions, settings, validation, env, config |
| PowerShell execution failed with status | exception | error | |
| The skill name must be provided. | validation | error | cli, yargs, skills, validation, argument |
EINVAL Failed to resolve plan path | error_code | error | plan-mode, path-validation, einval, typescript |
| Security validation timed out after 5000ms | exception | error | |
| Insecure HTTP OAuth endpoint | exception | error | oauth, tls, security, ssrf-protection |
| Invalid environment variable name | exception | error | extensions, settings, validation, env, config |
| Missing required variable | validation | error | extensions, variables, templating, validation |
| Not currently generating | exception | warning | acp, session, cancel, state |
| Operation cancelled. | exception | warning | cancellation, abort, non-interactive, sigint, agent-session |
| [Configuration] Untrusted workspace detected. Stripping… | console | warning | security, configuration, workspace-trust, telemetry |