Skip to content

[aw-failures] smoke-gemini: API_KEY_INVALID — Gemini API key needs rotation #28381

@github-actions

Description

@github-actions

Smoke Gemini is failing on every run with a Gemini API 400 API_KEY_INVALID error. The GEMINI_API_KEY repository secret is expired or revoked, blocking all Gemini engine smoke coverage.

Affected Runs

Root Cause

The Gemini CLI exits immediately after authentication with:

status: 400
"error": {
  "code": 400,
  "message": "API key not valid. Please pass a valid API key.",
  "status": "INVALID_ARGUMENT",
  "reason": "API_KEY_INVALID",
  "domain": "googleapis.com",
  "service": "generativelanguage.googleapis.com"
}

Zero tokens consumed, zero turns — the agent cannot start. The key is invalid at the Google API level.

Proposed Remediation

  1. Regenerate a valid Gemini API key via Google AI Studio
  2. Update the GEMINI_API_KEY GitHub Actions repository secret
  3. Re-run Smoke Gemini to verify

Success Criteria

Generated by [aw] Failure Investigator (6h) · ● 274.8K ·

  • expires on May 2, 2026, 1:20 AM UTC

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions