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,278 source files

Analyzed at 6a466a7e2f on 2026-09-16. 249 documented errors.

Code / MessageTypeSeverityTags
NO_FINISH_REASON
Model stream ended without a finish reason.
exception error gemini, streaming, finish-reason, retry, network, invalid-stream
NO_RESPONSE_TEXT
Model stream ended with empty response text.
exception error gemini, empty-response, streaming, prompt-engineering, invalid-stream
MALFORMED_FUNCTION_CALL
Model stream ended with malformed function call.
exception error gemini, function-calling, tools, json-schema, malformed-args, invalid-stream
Failed to create auth provider for agent
exception error a2a, authentication, auth-provider, configuration
Failed to resolve relative OAuth URL
exception error oauth, url-parsing, ssrf-protection, mcp
Gemini CLI is not running in a trusted directory. To…
exception critical security, workspace-trust, headless, config, startup
Invalid Google Cloud Project ID
validation error code-assist, project-id, environment, configuration, gcp
Path validation failed
validation error path-validation, sandbox, security, edit-tool, path-traversal
Could not authenticate using metadata server application…
exception error oauth, compute-adc, gce, metadata-server, environment, network
Access to the default Cloud Shell Gemini project was…
exception error code-assist, permissions, cloud-shell, project-id, gcp
Failed to open browser
exception error oauth, authentication, browser, environment, fatal
Failed to authenticate with user code.
exception critical oauth, authentication, user-code, fatal, retry-exhausted
Failed to initialize GCS bucket
exception error gcs, persistence, iam, initialization, auth
Failed to initialize RemoteSessionInvocation for
exception critical a2a, remote-agents, configuration, initialization
Unexpected state: neither agent_card_json nor…
exception critical agent-loader, remote-agent, invariant, schema-gap
RemoteSubagentProtocol: A2AClientManager not available for
exception critical a2a, remote-agents, streaming, lifecycle
Invalid or missing 'issue_id' format
validation error validation, triage-worker, workable-spec, schema, python
Manual authorization is required but the current session is…
exception critical oauth, authentication, non-interactive, environment, fatal
Authentication cancelled by user.
exception info oauth, authentication, user-cancellation, consent, fatal
Access to forbidden path is denied
exception error security, sandbox, windows, filesystem, access-control, csharp
The enforced authentication type is
exception error auth, config, security-policy, headless
The source argument must be provided.
validation error cli, yargs, skills, validation, argument
Expected JSON object from LLM, but got
validation error llm, json-parsing, golden-spec, antigravity, evals, python
Cannot resume from eventId
exception error agent-session, resume, lifecycle, validation
Unsupported authType
validation error code-assist, authentication, content-generator, configuration
Cannot reconstruct task
exception error persistence, task-state, reconstruction, metadata
YOLO mode is disabled by your administrator. To enable it…
exception critical cli, security, admin, yolo, policy
Failed to clear OAuth credentials
exception warning oauth, credentials, keychain, storage, logout
Unknown eventId
exception error agent-session, resume, validation, event-sourcing
Failed to load OAuth credentials
exception error oauth, credentials, keychain, storage, environment
Failed to fetch issue #
http error github-api, network, rate-limit, auth, evals, python
Failed to create GCS bucket
exception error gcs, persistence, iam, bucket-creation, startup
Execution aborted
exception warning abort, cancellation, execution-loop, control-flow
Remote agent ' ' has neither agentCardUrl nor agentCardJson
validation error a2a, remote-agents, agent-card, configuration
The auth type ' ' is enforced, but no authentication is…
exception error auth, config, security-policy, headless
Cannot build sandbox using installed gemini binary; run…
exception error sandbox, developer-workflow, docker, environment-variable, npm-link
A2AClient cancelTask Error
exception error a2a, task, network, error-wrapping
Triage execution failed
exception error execution, triage-worker, subprocess, evals, runtime, python
GEMINI_SANDBOX is true but failed to determine command for…
exception error sandbox, configuration, environment, docker, podman
Model policy chain must include at least one model.
validation critical model-policy, availability, validation, configuration
No access token received from token endpoint
exception error oauth2, auth, network, a2a
Required judge.md prompt file missing from
exception critical file-not-found, packaging, import-time, judge, prompt, python
Template validation failed: Missing required input…
validation error templating, validation, agents, input-schema
Exiting due to a confirmation prompt requested by the…
exception error non-interactive, slash-command, confirmation, shell, permissions
Required prompt file missing at
exception critical file-not-found, packaging, golden-spec, prompt, python
Invalid taskId
validation error gcs, security, path-traversal, validation, task-id
Subagent ' ' not found.
exception error subagent, agent-registry, tool, validation
DNS lookup failed for OAuth endpoint host
exception error oauth, dns, network, ssrf-protection
Invalid session ID " ": Only alphanumeric characters…
validation error cli, yargs, session, validation, regex
Invalid telemetry configuration
exception error cli, telemetry, config, validation
Missing required environment variable
exception critical configuration, env-var, firestore, gcp, evals, python
projectId is not defined for CodeAssistServer.
exception error code-assist, project-id, configuration, gcp
Agent card is missing.
exception error a2a, agent-card, validation, precondition
Proxy container command
exception critical sandbox, proxy, docker, process, network, runtime
Unsupported install type
exception error extensions, install, defensive, type
COMPUTE_ADC failed: . (LOGIN_WITH_GOOGLE fallback skipped…
exception critical authentication, gcp, compute-adc, headless, config
OAuth2 authentication for agent
exception error auth, oauth2, config, discovery
Please set an Auth method in your
exception error auth, config, headless, onboarding
Installation aborted: Folder
exception warning extensions, install, security, trust, consent
Model policy chain must include an `isLastResort` model.
validation critical model-policy, availability, fallback, validation
The path argument must be provided.
validation error cli, yargs, skills, validation, argument
Domain not allowed: The requested domain is not in the…
exception error browser, security, config, domain-allowlist
Invalid approval mode
exception error cli, config, approval-mode, validation, settings
Failed to parse arguments
exception error cli, yargs, argument, defensive
Duplicate skill name
exception error skills, config, validation, naming
Invalid skill name: Path traversal detected.
exception error skill, security, path-traversal, validation, installation, frontmatter
Task is missing persisted state in metadata.
exception error persistence, gcs, a2a, metadata, state
Workspace path is outside the allowed root directory
validation error workspace, sandbox, security, config, path-validation
EVAL_CONFIG must be a JSON object, got
validation error configuration, env-var, cloud-run, evals, json, python
Failed to retrieve ADC access token.
exception error auth, google-credentials, adc, access-token, environment
Sandbox image ' ' is missing or could not be pulled.
exception error sandbox, docker, container-image, network, registry
Skill linking cancelled by user.
exception info skills, user-consent, cancellation, ux
[Core Agent] Could not find port number.
exception error http-server, startup, port-binding, env-vars
. The initial COMPUTE_ADC attempt also failed
exception critical authentication, gcp, compute-adc, oauth, fallback
Failed to get ADC access token
exception error auth, google-credentials, adc, access-token, environment
OAuth2 authentication for agent
exception error auth, oauth2, config, client-id
Failed to fetch PR #
http error github-api, network, rate-limit, auth, evals, python
Circular symlink detected
exception error filesystem, symlink, sandbox
Attempted to save credentials without an access token.
validation error oauth, credentials, validation, data-integrity
MAX_TURNS_EXCEEDED
MAX_TURNS_EXCEEDED
error_code warning agent-loop, turn-budget, legacy-session, typescript
Tool sandboxing is not yet implemented.
exception error sandbox, not-implemented, configuration
Security initialization failed: undici.buildConnector is…
exception error
Exiting due to an error processing the @ command.
exception error at-command, input, filesystem, mcp, non-interactive
User requested to change authentication method
exception info auth, control-flow, code-assist, typescript
Validation failed
validation error agent-loader, zod, validation, schema
Invalid path: Directory traversal not allowed.
exception error skill, security, path-traversal, validation, installation
Invalid EVAL_CONFIG JSON
validation error configuration, env-var, cloud-run, json, parsing, python
LegacyAgentSession.send() cannot be called while a stream…
exception error agent-session, legacy, concurrency, lifecycle
The --session-id option cannot be empty.
validation error cli, yargs, session, validation, argument
Failed to get ADC ID token
exception error auth, google-credentials, adc, id-token, environment
Invalid scope: . Please use one of .
validation error cli, extensions, scope, validation, yargs
Invalid extension name
exception error cli, validation, naming
Agent with name ' ' is already loaded.
exception error a2a, agent-loading, validation, naming
Cannot launch a concurrent browser agent in
exception error browser, concurrency, config
Extension validation failed.
exception error cli, extensions, validate, configuration
Running sandbox from a sensitive host directory
exception critical sandbox, security, filesystem
Exiting due to command result that is not supported in…
exception error non-interactive, slash-command, input, compatibility
Model policy chain must only have one `isLastResort`.
validation critical model-policy, availability, fallback, validation
EEXIST
Slug is already owned by
exception error project-registry, slug-collision, filesystem, typescript
Init command content must be a string.
exception error init-command, type-validation, defensive-guard