ErrLookup › google-gemini/gemini-cli

google-gemini/gemini-cli

An open-source AI agent that brings the power of Gemini directly into your terminal. · TypeScript · 1,267 source files

Analyzed at 5024443c72 on 2026-08-12. 239 documented errors.

Code / MessageTypeSeverityTags
Cannot reconstruct task ${sdkTask.id}: missing persisted sta
exception error persistence, task-state, reconstruction, metadata
Execution aborted
exception warning abort, cancellation, execution-loop, control-flow
Path validation failed: ${pathError}
validation error path-validation, sandbox, security, edit-tool, path-traversal
Agent executor not found in context.
exception error init-command, dependency-injection, command-context
Init command content must be a string.
exception error init-command, type-validation, defensive-guard
Unknown result type from performInit
exception error init-command, version-drift, discriminated-union, exhaustive-switch
Workspace path ${resolvedPath} is outside the allowed root d
validation error workspace, sandbox, security, config, path-validation
Workspace path ${resolvedPath} does not exist
validation error workspace, filesystem, config, startup
Workspace path ${resolvedPath} is not a directory
validation error workspace, filesystem, config, startup
COMPUTE_ADC failed: ${adcMessage}. (LOGIN_WITH_GOOGLE fallba
exception critical authentication, gcp, compute-adc, headless, config
${originalMessage}. The initial COMPUTE_ADC attempt also fai
exception critical authentication, gcp, compute-adc, oauth, fallback
[${logPrefix}] Unable to set GeneratorConfig. Please provide
exception critical authentication, config, env-vars, startup
[Core Agent] Could not find port number.
exception error http-server, startup, port-binding, env-vars
GCS bucket name is required.
validation error gcs, persistence, config, constructor, env-vars
Failed to create GCS bucket ${this.bucketName}: ${createErro
exception error gcs, persistence, iam, bucket-creation, startup
Failed to initialize GCS bucket ${this.bucketName}: ${error}
exception error gcs, persistence, iam, initialization, auth
Invalid taskId: ${taskId}
validation error gcs, security, path-traversal, validation, task-id
Task ${taskId} is missing persisted state in metadata.
exception error persistence, gcs, a2a, metadata, state
tar.c command failed to create ${tmpArchiveFile}
exception error persistence, gcs, tar, filesystem, workspace
Loaded metadata for task ${taskId} is missing internal persi
exception error persistence, gcs, a2a, metadata, migration
Security violation: Null byte detected in path.
exception critical security, path-traversal, validation, null-byte
Security violation: The path "${trimmedPath}" is outside the
exception critical security, path-traversal, validation, sandbox
The path "${trimmedPath}" is not a directory.
exception error validation, filesystem, workspace
The path "${trimmedPath}" does not exist.
exception error validation, filesystem, workspace, enoent
Not currently generating
exception warning acp, session, cancel, state
Invalid or unavailable mode: ${modeId}
exception error acp, session, mode, configuration
Command requires a workspace.
exception error acp, command, init, workspace
Invalid scope: ${argv.scope}. Please use one of ${Object.val
validation error cli, extensions, scope, validation, yargs
Invalid scope: ${argv.scope}. Please use one of ${Object.val
validation error cli, extensions, scope, validation, yargs
Installation aborted: Folder "${absolutePath}" is not truste
exception warning extensions, install, security, trust, consent
The source argument must be provided.
validation error cli, extensions, install, arguments, yargs
Path already exists: ${path}
exception error cli, extensions, new, filesystem
Please include at least one extension name to uninstall as a
validation error cli, extensions, uninstall, arguments, yargs
Either an extension name or --all must be provided
validation error cli, extensions, update, arguments, yargs
Extension validation failed.
exception error cli, extensions, validate, configuration
Download failed: HTTP ${response.status} ${response.statusTe
exception error network, download, gemma, http, binary
Download failed: No response body
exception error network, download, gemma, http
The source argument must be provided.
validation error cli, yargs, skills, validation, argument
The path argument must be provided.
validation error cli, yargs, skills, validation, argument
The skill name must be provided.
validation error cli, yargs, skills, validation, argument
The --session-id option cannot be empty.
validation error cli, yargs, session, validation, argument
Invalid session ID "${trimmed}": Only alphanumeric character
validation error cli, yargs, session, validation, regex
Failed to parse arguments
exception error cli, yargs, argument, defensive
Invalid approval mode: ${rawApprovalMode}. Valid values are:
exception error cli, config, approval-mode, validation, settings
YOLO mode is disabled by your administrator. To enable it, p
exception critical cli, security, admin, yolo, policy
Invalid telemetry configuration: ${err.message}.
exception error cli, telemetry, config, validation
Invalid regex pattern in allowedExtensions setting: "${patte
exception error extensions, security, regex, config, validation
Installing extension from source "${installMetadata.source}"
exception error extensions, security, allowed-extensions, policy
Installing extensions from remote sources is disallowed by y
exception error extensions, security, git, policy
Could not install extension because the current workspace at
exception error extensions, security, workspace-trust, consent
Failed to install extension ${installMetadata.source}: ${res
exception error extensions, github, network, install
Unsupported install type: ${installMetadata.type}
exception error extensions, install, defensive, type
Extension "${previousName}" was not already installed, canno
exception error extensions, update, state-mismatch
Extension "${newExtensionName}" is already installed. Please
exception error extensions, install, conflict
Cannot update to "${newExtensionName}" because an extension
exception error extensions, update, conflict
Cannot install extension "${newExtensionName}" because a dir
exception error extensions, filesystem, conflict, install
Extension not found
exception error extensions, manifest, load
Cannot write extension settings to ${envFilePath} because it
exception error extensions, settings, filesystem, config
Invalid environment variable name: "${key}". Must contain on
exception error extensions, settings, validation, env, config
Invalid environment variable value for "${key}". Values cann
exception error extensions, settings, validation, env, config
Unable to find any remotes for repo ${installMetadata.source
exception error extensions, git, network, installation
Failed to clone Git repository from ${installMetadata.source
exception error extensions, git, network, installation, error-wrapping
Invalid repo URL: ${source}
exception error extensions, git, validation, url-parsing
Invalid GitHub repository source: ${source}. Expected "owner
exception error extensions, git, validation, url-parsing
Unsupported file extension for extraction: ${file}
exception error extensions, installation, archive, validation
Extension ${extension.name} cannot be updated, type is unkno
exception error extensions, updates, metadata, config
Extension ${extension.name} cannot be updated. ${getErrorMes
exception error extensions, updates, integrity, error-wrapping
Extension is linked so does not need to be updated
exception info extensions, updates, linked, dev-workflow
Updated extension not found after installation, got error:\n
exception error extensions, updates, installation, error-wrapping
Missing required variable: ${key}
validation error extensions, variables, templating, validation
Invalid sandbox command '${sandbox}'. Must be one of ${VALID
exception error sandbox, config, validation, fatal
gVisor (runsc) sandboxing is only supported on Linux
exception error sandbox, platform, config, fatal
Windows native sandboxing is only supported on Windows
exception error sandbox, platform, config, fatal
Missing sandbox command '${sandbox}' (from GEMINI_SANDBOX)
exception error sandbox, config, path, fatal
runsc (gVisor) requires Docker. Install Docker, or use sandb
exception error sandbox, docker, gvisor, config, fatal
GEMINI_SANDBOX is true but failed to determine command for s
exception error sandbox, configuration, environment, docker, podman
${errorMessages.join('\n')}\nPlease fix the configuration fi
exception error configuration, settings, json, validation, schema
Exiting due to an error processing the @ command.
exception error at-command, input, filesystem, mcp, non-interactive
Exiting due to an error processing the @ command.
exception error at-command, input, non-interactive, agent-session, filesystem
Operation cancelled.
exception warning cancellation, abort, non-interactive, sigint, agent-session
Error executing tool ${event.name}: ${displayText || errorMs
exception critical tool, filesystem, disk-full, enospc, fatal
Reached max session turns for this session. Increase the num
exception error agent-session, turns, configuration, limits, non-interactive
Exiting due to a confirmation prompt requested by the comman
exception error non-interactive, slash-command, confirmation, shell, permissions
Exiting due to command result that is not supported in non-i
exception error non-interactive, slash-command, input, compatibility
Invalid syntax${contextInfo}: Unclosed injection starting at
exception error prompt-processor, injection, parsing, shell, syntax
Security configuration not loaded. Cannot verify shell comma
exception error prompt-processor, shell, configuration, security, context
${this.commandName} cannot be run. Blocked command: "${comma
exception error shell, policy, security, permissions, deny
Shell command confirmation required
exception error shell, policy, confirmation, security, permissions
Failed to start shell command in '${this.commandName}': ${ex
exception error shell, spawn, execution, filesystem, prompt-processor
Invalid response code downloading ${endpoint}: ${response.st
exception error network, github, download, http, setup-github, rate-limit
Empty body while downloading ${endpoint}: ${response.status}
exception error network, github, download, http, setup-github
Unable to create ${dirPath} directory. Do you have file perm
exception error filesystem, permissions, setup-github, mkdir, io
Unable to determine the GitHub repository. /setup-github mus
exception error setup-github, git, github, repository, configuration
Cannot build sandbox using installed gemini binary; run `npm
exception error sandbox, developer-workflow, docker, environment-variable, npm-link
Sandbox image '${image}' is missing or could not be pulled.
exception error sandbox, docker, container-image, network, registry
Path '${from}' listed in SANDBOX_MOUNTS must be absolute
validation error sandbox, docker, mounts, validation, environment-variable, path
Missing mount path '${from}' listed in SANDBOX_MOUNTS
exception error sandbox, docker, mounts, filesystem, validation
SANDBOX_ENV must be a comma-separated list of key=value pair
validation error sandbox, docker, environment-variable, validation
Proxy container command '${command} ${proxyContainerArgs.joi
exception critical sandbox, proxy, docker, process, network, runtime
Failed to query LXC container '${containerName}': ${err inst
exception error sandbox, lxc, lxd, installation, permissions
LXC container '${containerName}' not found. Create one with:
exception error sandbox, lxc, lxd, container, provisioning
LXC container '${containerName}' is not running (current sta
exception error sandbox, lxc, lxd, container, lifecycle
Failed to mount workspace into LXC container '${containerNam
exception error sandbox, lxc, lxd, mount, filesystem, permissions
Invalid retention period format: ${period}. Expected format:
exception error session-cleanup, config, validation, regex, parsing
Invalid retention period: ${period}. Value must be greater t
exception error session-cleanup, config, validation, business-rule
Failed to find session "${trimmedResumeArg}": ${error instan
exception error session, resume, filesystem, error-wrapping
Failed to load session data
exception error session, resume, data-integrity, filesystem, parsing
Failed to load session ${sessionInfo.id}: ${error instanceof
exception error session, resume, error-wrapping, data-integrity
Invalid path: Directory traversal not allowed.
exception error skill, security, path-traversal, validation, installation
No valid skills found in ${source}${subpath ? ` at path "${s
exception error skill, installation, frontmatter, validation, filesystem
Skill installation cancelled by user.
exception info skill, installation, consent, user-action
Invalid skill name: Path traversal detected.
exception error skill, security, path-traversal, validation, installation, frontmatter
No valid skills found in "${sourcePath}". Ensure a SKILL.md
exception error skills, filesystem, config, validation
Duplicate skill name "${skill.name}" found at multiple locat
exception error skills, config, validation, naming
Skill linking cancelled by user.
exception info skills, user-consent, cancellation, ux
Gemini CLI is not running in a trusted directory. To proceed
exception critical security, workspace-trust, headless, config, startup
The enforced authentication type is '${enforcedType}', but t
exception error auth, config, security-policy, headless
The auth type '${enforcedType}' is enforced, but no authenti
exception error auth, config, security-policy, headless
Please set an Auth method in your ${USER_SETTINGS_PATH} or s
exception error auth, config, headless, onboarding
Unknown eventId: ${options.eventId}
exception error agent-session, resume, validation, event-sourcing
Cannot resume from eventId ${options.eventId} before agent_s
exception error agent-session, resume, lifecycle, validation
LegacyAgentSession.send() only supports message sends for th
exception error agent-session, legacy, type-narrowing, validation
LegacyAgentSession.send() cannot be called while a stream is
exception error agent-session, legacy, concurrency, lifecycle
Agent with name '${name}' is already loaded.
exception error a2a, agent-loading, validation, naming
Failed to parse inline agent card JSON for agent '${name}':
exception error a2a, agent-card, json, validation
Agent '${agentName}' not found.
exception error a2a, agent-loading, validation, naming
[A2AClientManager] sendMessageStream Error [${agentName}]: $
exception error a2a, streaming, network, error-handling
[A2AClientManager] sendMessageStream Error [${agentName}]: U
exception error a2a, error-handling, streaming, robustness
A2AClient getTask Error [${agentName}]: ${error.message}
exception error a2a, tasks, network, error-handling
A2AClient getTask Error [${agentName}]: Unexpected error: ${
exception error a2a, tasks, error-handling, robustness
A2AClient cancelTask Error [${agentName}]: ${error.message}
exception error a2a, task, network, error-wrapping
A2AClient cancelTask Error [${agentName}]: Unexpected error:
exception error a2a, task, error-handling, non-error-throw
Agent card is missing.
exception error a2a, agent-card, validation, precondition
Subagent '${params.agent_name}' not found.
exception error subagent, agent-registry, tool, validation
Could not read file: ${getErrorMessage(error)}
exception error filesystem, agent-loader, io, permissions
Invalid agent definition: Missing mandatory YAML frontmatter
exception error agent-loader, frontmatter, format, authoring
YAML frontmatter parsing failed: ${getErrorMessage(error)}
exception error agent-loader, yaml, parsing, authoring
Validation failed: ${formatZodError(result.error, 'Remote Ag
validation error agent-loader, zod, validation, remote-agent
Validation failed: ${formatZodError(result.error, 'Agent Def
validation error agent-loader, zod, validation, schema
Unexpected state: neither agent_card_json nor agent_card_url
exception critical agent-loader, remote-agent, invariant, schema-gap
openIdConnect auth provider not yet implemented
exception error auth, oidc, not-implemented, factory
Protocol "${urlObj.protocol}" is not secure. Google Credenti
exception error auth, google-credentials, security, https
Host "${hostname}" is not an allowed host for Google Credent
exception error auth, google-credentials, security, allowlist
Failed to get ADC ID token: ${e instanceof Error ? e.message
exception error auth, google-credentials, adc, id-token, environment
Failed to retrieve ADC access token.
exception error auth, google-credentials, adc, access-token, environment
Failed to get ADC access token: ${e instanceof Error ? e.mes
exception error auth, google-credentials, adc, access-token, environment
OAuth2 authentication for agent "${this.agentName}" requires
exception error auth, oauth2, config, client-id
OAuth2 authentication for agent "${this.agentName}" requires
exception error auth, oauth2, config, discovery
Authentication cancelled by user.
exception warning auth, oauth2, cancellation, user-action
No access token received from token endpoint
exception error oauth2, auth, network, a2a
Environment variable '${envVar}' is not set or is empty. Ple
exception error auth, environment, config
Empty command in auth value. Expected format: !command
exception error auth, config, validation
Command '${command}' returned empty output
exception error auth, shell, config
Command '${command}' timed out after ${COMMAND_TIMEOUT_MS /
exception error auth, shell, timeout, config
Cannot launch a concurrent browser agent in "${sessionMode}"
exception error browser, concurrency, config
Maximum number of parallel browser instances (${BrowserManag
exception error browser, concurrency, resource-limits
Failed to initialize chrome-devtools MCP client
exception error browser, mcp, lifecycle, race-condition
Domain not allowed: The requested domain is not in the allow
exception error browser, security, config, domain-allowlist
Browser agent requires user consent to proceed. Please re-ru
exception error browser, consent, first-run, privacy
Invalid domain in allowedDomains: ${domain}
exception error browser, config, validation, domain-allowlist
PromptConfig must define either `systemPrompt` or `initialMe
exception error agents, config, validation, prompt
Failed to create chat object: ${getErrorMessage(e)}
exception error agents, gemini, config, network
Failed to create auth provider for agent '${definition.name}
exception error a2a, auth, config, agents
Remote agent '${definition.name}' requires a string 'query'
validation error a2a, agents, type-validation, config
Failed to initialize RemoteAgentInvocation for '${definition
exception error a2a, agents, config, initialization
Failed to create auth provider for agent '${definition.name}
exception error a2a, auth, agents, config
Operation aborted
exception warning a2a, agents, abort, cancellation
No response from remote agent.
exception error a2a, agents, network, empty-response
Remote agent '${definition.name}' requires a string 'query'
validation error a2a, agents, type-validation, config
Failed to initialize RemoteSessionInvocation for '${definiti
exception critical a2a, remote-agents, configuration, initialization
RemoteSubagentProtocol: A2AClientManager not available for '
exception critical a2a, remote-agents, streaming, lifecycle
Failed to create auth provider for agent '${this.definition.
exception error a2a, authentication, auth-provider, configuration
Remote agent '${def.name}' has neither agentCardUrl nor agen
validation error a2a, remote-agents, agent-card, configuration
Template validation failed: Missing required input parameter
validation error templating, validation, agents, input-schema
Model policy chain must include at least one model.
validation critical model-policy, availability, validation, configuration
Model policy chain must include an `isLastResort` model.
validation critical model-policy, availability, fallback, validation
Model policy chain must only have one `isLastResort`.
validation critical model-policy, availability, fallback, validation
Unsupported authType: ${authType}
validation error code-assist, authentication, content-generator, configuration
Failed to load OAuth credentials
exception error oauth, credentials, keychain, storage, environment
Attempted to save credentials without an access token.
validation error oauth, credentials, validation, data-integrity
Failed to clear OAuth credentials
exception warning oauth, credentials, keychain, storage, logout
Could not authenticate using metadata server application def
exception error oauth, compute-adc, gce, metadata-server, environment, network
Manual authorization is required but the current session is
exception critical oauth, authentication, non-interactive, environment, fatal
Failed to authenticate with user code.
exception critical oauth, authentication, user-code, fatal, retry-exhausted
Authentication cancelled by user.
exception info oauth, authentication, user-cancellation, consent, fatal
Failed to open browser: ${getErrorMessage(err)}
exception error oauth, authentication, browser, environment, fatal
Access to the default Cloud Shell Gemini project was denied.
exception error code-assist, permissions, cloud-shell, project-id, gcp
projectId is not defined for CodeAssistServer.
exception error code-assist, project-id, configuration, gcp
Invalid Google Cloud Project ID: "${projectId}". The GOOGLE_
validation error code-assist, project-id, environment, configuration, gcp
User requested to change authentication method
exception info auth, control-flow, code-assist, typescript
User cancelled account validation
exception warning auth, user-cancellation, code-assist, typescript
MAX_TURNS_EXCEEDED
MAX_TURNS_EXCEEDED
error_code warning agent-loop, turn-budget, gemini, typescript
LOOP_DETECTED
Loop detected, stopping execution
error_code warning agent-loop, loop-detection, gemini, typescript
AGENT_EXECUTION_BLOCKED
${event.value.systemMessage?.trim() || event.value.reason}
error_code error permissions, sandbox, agent-policy, gemini, typescript
INVALID_STREAM
${event.value?.message?.trim() || 'Invalid stream received from model'}
error_code critical model-stream, fatal, gemini, typescript
MAX_TURNS_EXCEEDED
MAX_TURNS_EXCEEDED
error_code warning agent-loop, turn-budget, legacy-session, typescript
EEXIST
Slug ${slug} is already owned by ${owner}
exception error project-registry, slug-collision, filesystem, typescript
ENOENT
Sandbox Error: read_file failed for '${filePath}'. Exit code ${code}. ${error ?
exception error sandbox, filesystem, enoent, typescript
EINVAL
Failed to resolve plan path: ${err instanceof Error ? err.message : String(err)}
error_code error plan-mode, path-validation, einval, typescript
EACCES
${validationError}
error_code error permissions, eacces, path-validation, typescript
Google Antigravity SDK is not installed.
exception critical dependencies, antigravity-sdk, cloudrun, python
Agent '{role}' execution failed: {e}
exception error agent-runner, antigravity-sdk, error-wrapping, python
Command '{cmd_str}' failed with exit code {returncode}
exception error subprocess, command-execution, shell, python
Environment variable 'FIRESTORE_DOC' is required but was not
validation critical configuration, env-vars, firestore, cloudrun, python
Firestore document specification must be a JSON object.
validation critical configuration, firestore, json-schema, python
Failed to parse 'FIRESTORE_DOC' as JSON: {e}
validation critical configuration, json-parse, firestore, python
Firestore document ID could not be resolved. Please set the
validation error firestore, validation, missing-argument, python
GitHub token is missing. Cannot authorize Pull Request creat
exception critical github, auth, missing-token, python
GitHub API Error: {err_msg}
exception error
Unexpected API client error: {e}
exception error
Failed to clean eval directory: {e}
exception error
Failed to clone repository: {e}
exception error
Failed to load / validate config: {e}
exception error
Issue number is missing in Firestore metadata.
exception error
Failed to checkout feature branch {branch_name}: {e}
exception error
Failed to install NPM dependencies in PR workspace: {e}
exception error
Failed to save firestore_doc.json to workspace: {e}
exception error
Failed to generate any code changes in the first iteration.
exception error
Failed to push git branch: {e}
exception error
Pull request submission failed: {e}
exception error
Missing or invalid object '{section_name}' in workable_spec
validation error
Missing '{section_name}' key: {field_name}
validation error
Key '{field_name}' in '{section_name}' must be a list of {el
validation error
Key '{field_name}' in '{section_name}' must be of type {expe
validation error
Missing 'triage_metadata'
validation error
Invalid or missing 'quality': {metadata.get('quality')}
validation error
Invalid or missing 'effort_estimate': {effort}
validation error
Missing 'workable_spec'
validation error
Invalid or missing 'issue_id' format: {issue_id}
validation error validation, triage-worker, workable-spec, schema, python
EVAL_CONFIG must be a JSON object, got {type(cfg).__name__}
validation error configuration, env-var, cloud-run, evals, json, python
Invalid EVAL_CONFIG JSON: {e}
validation error configuration, env-var, cloud-run, json, parsing, python
Missing required environment variable '{name}'. Please ensur
exception critical configuration, env-var, firestore, gcp, evals, python
Expected JSON object from LLM, but got {type(data).__name__}
validation error llm, json-parsing, golden-spec, antigravity, evals, python
Required prompt file missing at: {PROMPT_FILE}
exception critical file-not-found, packaging, golden-spec, prompt, python
Failed to fetch issue #{issue_number} from GitHub API ({resp
http error github-api, network, rate-limit, auth, evals, python
Failed to fetch PR #{pr_number} from GitHub API ({resp.statu
http error github-api, network, rate-limit, auth, evals, python
Required judge.md prompt file missing from {PROMPT_FILE.pare
exception critical file-not-found, packaging, import-time, judge, prompt, python
Triage execution failed: {raw_output}
exception error execution, triage-worker, subprocess, evals, runtime, python
Access to forbidden path is denied: {path}
exception error security, sandbox, windows, filesystem, access-control, csharp