Gemini auth header conflict causing HTTP 400 errors
Cluster 7893. Data as of
Nothing open on GitHub. Fix merged in #11961. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #11961. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #11961. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where requests to the native Gemini provider sent both Authorization: Bearer and x-goog-api-key headers simultaneously, triggering HTTP 400 'Multiple authentication credentials' errors. Multiple fix attempts address routing auth through the correct x-goog-api-key header only.
Open issues0
Open PRs0
Fixes on record
-
#11961 fix(gemini): route Google AI Studio auth via x-goog-api-key header (#7893)
files:
agent/auxiliary_client.py,run_agent.py,scripts/release.py,tests/hermes_cli/test_gemini_provider.py
3 PRs closed without merging
From the close comments: superseded by another PR 2 · merged via another change 1
-
#8172 fix(gemini): use x-goog-api-key header to prevent dual-auth 400 error · superseded by another PR →
#11961,#8530 -
#8530 fix: suppress Authorization: Bearer for Gemini provider to prevent HT… · merged via another change →
#11961,#11472 -
#9247 fix(gemini): use x-goog-api-key header instead of Bearer token · superseded by another PR →
#11961,#8530
Closed issues · 1
- Closed#7893[Bug]: HTTP 400 "Multiple authentication credentials received" when using native gemini provider
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #11961
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 18 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.