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 3 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

Found possible duplicate issues:

  • #14438
  • #13665
  • #5468
  • #13755
  • #12869

If you believe this is not a duplicate, please remove the status/possible-duplicate label.

gemini-cli[bot] avatar Dec 08 '25 19:12 gemini-cli[bot]

Closing as duplicate, please follow https://github.com/google-gemini/gemini-cli/issues/13755 for the update, thanks!

sehoon38 avatar Jan 28 '26 06:01 sehoon38