Skip to content

Request contains an invalid argument #18903

Description

@Chrys4lisfag

What happened?

Starting from yesterday cli stopped working with error "Request contains an invalid argument

What did you expect to happen?

No errors

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
│ CLI Version                              0.28.2                                                                      │
│ Git Commit                               da5e47ae3                                                                   │
│ Model                                    auto-gemini-2.5                                                             │
│ Sandbox                                  no sandbox                                                                  │
│ OS                                       win32                                                                       │
│ Auth Method                              Logged in with Google (@gmail.com)                                   │
│ GCP Project                              400573663629

[API Error: [{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"errors": [
{
"message": "Request contains an invalid argument.",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT"
}
}
]]

'content-type': 'application/json; charset=UTF-8', │
│ date: 'Thu, 12 Feb 2026 13:11:08 GMT', │
│ server: 'ESF', │
│ 'server-timing': 'gfet4t7; dur=124', │
│ vary: 'Origin, X-Origin, Referer', │
│ 'x-cloudaicompanion-trace-id': '765d4adeb6c23e57', │
│ 'x-content-type-options': 'nosniff', │
│ 'x-frame-options': 'SAMEORIGIN', │
│ 'x-xss-protection': '0' │
│ }, │
│ status: 400, │
│ statusText: 'Bad Request', │
│ request: { │
│ responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse' │
│ } │
│ }, │
│ error: undefined, │
│ status: 400, │
│ Symbol(gaxios-gaxios-error): '6.7.1'

Login information

google account

Anything else we need to know?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stalearea/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitykind/bugpriority/p2Important but can be addressed in a future release.status/bot-triaged

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions