gemini-cli - 💡(How to fix) Fix Repeated API 400 error

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[API Error: {"error":{"message":"{\n "error": {\n "code": 400,\n "message": "Function call is missing a thought_signature in functionCall parts. This is required no error

RAW_BUFFERClick to expand / collapse

What happened?

[API Error: {"error":{"message":"{\n "error": {\n "code": 400,\n "message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call default_api:update_topic , position 20. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",\n "status": "INVALID_ARGUMENT"\n }\n}\n","code":400,"status":"Bad Request"}}]

What did you expect to happen?

no error

Client information

<details> <summary>Client Information</summary>

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

About Gemini CLI │ │ │ │ CLI Version 0.41.2 │ │ Git Commit b0c7a1722 │ │ Model gemini-3.1-pro-preview │ │ Sandbox no sandbox │ │ OS darwin │ │ Auth Method gemini-api-key │ │ IDE Client IDE │ │

</details>

Login information

API keu

Anything else we need to know?

this has been happening all day

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING