Repository navigation
Replies: 3 comments 1 reply
|
That message alone doesn't establish which part of the configuration is wrong. In current CCR, Could you share your installed CCR version ( For the current 3.x UI, the documented path is Settings → Logs & Observability → Request logs, then open the failed request on Logs and inspect its response/error details (guide). Check the resolved model there rather than assuming the JSON shown is the active runtime configuration. Current releases persist application configuration in SQLite (CLI reference); the installed version matters when interpreting an older JSON configuration. There is also a model-access detail worth checking: Google's current deprecation page lists AI-assisted, source-based triage. I have not reproduced your live Gemini request. |
|
`-- @musistudio/claude-code-router@3.1.3 I failed to locate the logs :( But I tried a "Check Connection" and got this message for both 2.0 and 2.5 HTTP 401: API keys are not supported by this API. Expected OAuth2 access token or other authentication credentials that assert a principal. See https://cloud.google.com/docs/authentication So I guess that I need to chose different models? Can you suggest what I should configure - I just lifted my config from a web page that suggested those settings |
|
Closing this - seems way too hard to set up - I think I'll just pay the Claude subscription. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm assuming I have done something wrong. I started Claude Code using:
ccr "Claude Code" with the following config.json
My config.json:
<
{
"LOG": true,
"LOG_LEVEL": "info",
"HOST": "127.0.0.1",
"PORT": 3456,
"API_TIMEOUT_MS": 600000,
"Providers": [
{
"name": "gemini",
"api_base_url": "https://generativelanguage.googleapis.com/v1beta/models/",
"api_key": "$GOOGLE_API_KEY",
"models": ["gemini-2.5-flash", "gemini-2.0-flash"],
"transformer": { "use": ["gemini"] }
}
],
"Router": {
"default": "gemini,gemini-2.5-flash",
"background": "gemini,gemini-2.5-flash",
"think": "gemini,gemini-2.5-flash",
"longContext": "gemini,gemini-2.5-flash",
"longContextThreshold": 60000
}
}
I got that error when I entered "status" to Claude Code.
What am I doing wrong please?
All reactions