-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Pre-reqs
- I've searched the current open issues
- I've updated to the latest versions
Extension Version
0.1.3
Gemini CLI Version
0.20
Environment
23.6.0 Darwin Kernel Version 23.6.0: Thu Dec 19 20:44:10 PST 2024; root:xnu-10063.141.1.703.2~1/RELEASE_ARM64_T6000 arm64
Current Behavior
Every tool fails with a "missing access token in the 'Authorization' header" error, e.g.:
[{"functionResponse":{"name":"list_dataset_ids","response":{"error":{"message":"MCP error -32600: missing access token in the 'Authorization' header","isError":true}}}}]
My ADC credentials are fine:
> cat ~/.config/gcloud/application_default_credentials.json
{
"account": "",
"client_id": "76408.........1hur.apps.googleusercontent.com",
"client_secret": "<secret>",
"quota_project_id": "<project>",
"refresh_token": "<token>",
"type": "authorized_user",
"universe_domain": "googleapis.com"
}
My user has the BigQuery Admin role.
Running bq on the command line, using the same user, works well.
Expected Behavior
The MCP should not fail.
Steps to reproduce?
- gcloud auth application-default login
- Enable BigQuery API in the Google Cloud Console
- IAM -> Set up permissions for the user
- Restart gemini cli
Additional Details
No response
Metadata
Metadata
Assignees
Labels
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.