Hi everyone,
I’m having an issue with Gemini Code Assist in VS Code (Agent Mode) that looks like a server-side account routing / project binding problem.
Summary
After signing in, the extension automatically sets a Google Cloud project: macro-linker-26f3p.
That project is not accessible from my account (deleted), and the extension then fails with:
“The set project ID (macro-linker-26f3p) was invalid, or the current account lacks permission to view it.”
I am not trying to use Google Cloud. I want the individuals / Google AI Pro experience (no Cloud project required).
Environment
-
Account: personal Gmail (Google One / Google AI Pro) — not Workspace/Enterprise
-
Google Cloud Console: no projects, no billing
-
VS Code + Gemini Code Assist extension (Agent Mode)
Repro steps
-
Start a completely clean VS Code instance:
code --user-data-dir "%TEMP%\vscode-clean-user" --extensions-dir "%TEMP%\vscode-clean-ext" -
Install Gemini Code Assist
-
Sign in with my Gmail account
-
Immediately, the extension sets
macro-linker-26f3pand shows the “invalid / lacks permission” error.
Local causes ruled out
-
No project environment variables are set:
GOOGLE_CLOUD_PROJECT,CLOUDSDK_CORE_PROJECT, etc. are empty
-
gcloudis not installed -
No Application Default Credentials (ADC):
%APPDATA%\gcloud\application_default_credentials.jsondoes not exist
-
I also scanned the typical local cache locations for the string
macro-linker-26f3pand found nothing.
Evidence from extension logs (redacted)
The extension calls:
https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist
In the response, it appears to receive values like (paraphrased):
-
currentTier.id = "standard-tier" -
allowedTiers = ["standard-tier"] -
cloudaicompanionProject = "macro-linker-26f3p" -
at the same time, it shows
paidTier.id = "g1-pro-tier"(Google AI Pro recognized)
Then the extension starts the agent process and injects:
-
GOOGLE_CLOUD_PROJECT = macro-linker-26f3p -
GOOGLE_APPLICATION_CREDENTIALS = ...\google-vscode-extension\auth\application_default_credentials.json
This makes the project come back every time after login, even in a clean VS Code environment.
What I’m asking for
This looks like my account is being routed into a Standard/Enterprise (Cloud project) flow or has a stale server-side project binding. Could someone please help with one of the following?
-
Reset/remove the server-side
cloudaicompanionProjectbinding for my account so the extension doesn’t auto-set an inaccessible project, and/or -
Ensure my account is correctly routed to the individuals (AI Pro) flow where no Cloud project is required.
If needed, I can provide:
-
exact timestamps
-
redacted log snippets (without prompts / private paths)
-
request/trace IDs from the logs
Thanks in advance!