gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

API Error: Request contains an invalid argument. [INVALID_ARGUMENT]

Open sabelosimelane opened this issue 2 months ago • 1 comments

What happened?

I keep getting this error while working on a feature:

[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" } } ]]

What did you expect to happen?

I'm expecting the agent to continue working on the feature as per the prompt.

Client information

  • CLI Version: 0.19.4
  • Git Commit: 935114875
  • Session ID: e8bbd8c9-aa55-4684-9edb-04f27cac2d39
  • Operating System: darwin v22.12.0
  • Sandbox Environment: no sandbox
  • Model Version: pro
  • Memory Usage: 369.9 MB
  • IDE Client: VS Code

Login information

No response

Anything else we need to know?

No response

sabelosimelane avatar Dec 08 '25 19:12 sabelosimelane