Issue: I have a personal Google AI Pro subscription. When signing into the Gemini Code Assist extension in VS Code, the process hangs indefinitely.
Symptoms:
-
The extension automatically populates a Project ID in settings that I did not create.
-
If I delete the Project ID, it regenerates itself immediately.
-
The error shown is: “The set project ID is invalid or lacks permission.”
-
The system is incorrectly treating my personal account as an Enterprise/Google Cloud account.
Troubleshooting already performed:
-
Deleted google-vscode-extension cache folder.
-
Uninstalled “Google Cloud Code” extension (only Gemini Code Assist is installed).
-
Attempted login via Incognito/different browsers.
-
Set "geminicodeassist.enterpriseMode": false “geminicodeassist.subscriptionType”: “Individual”, “geminicodeassist.enable”: true in settings.json (it was ignored).
-
Confirmed no active projects exist in my Google Cloud Console.
Goal: I need my account “unbound” from this phantom project so the extension recognizes my Individual AI Pro subscription.
I am facing the same issue and see that are numerous other posts about the same issue. Were you able to resolve this? If it is something that has to be done on the backend, can someone please reset my account as well?
Persistent Extension Crash and “Phantom Project ID”
Issue Description: The Gemini Code Assist extension for VS Code is stuck in a crash loop and keeps reverting to an invalid Google Cloud project ID (unknow ID), even after multiple manual deletions from settings. This prevents the use of a personal AI Premium/Pro subscription.
Primary Error Logs:
-
panic: reflect: call of reflect.Value.Type on zero Value
-
[API Error: No capacity available for model gemini-3.1-pro-preview on the server]
-
The Gemini Code Assist server crashed 5 times in the last 3 minutes.
Troubleshooting Steps Already Performed:
1. Settings & Configuration Cleanup:
-
Manual JSON Edit: Attempted to clear "geminicodeassist.project" by setting it to "" and null in both User Settings and Workspace Settings (settings.json). The value is automatically overwritten by the extension upon saving or restarting.
-
Workspace Check: Verified that no .vscode/settings.json file exists in the current project root that might be forcing this ID.
-
Settings Sync: Disabled VS Code Settings Sync to prevent the restoration of corrupted configurations from the cloud.
2. Deep Cache & Binary Reset:
-
Cloud-Code Cache: Fully deleted the %LOCALAPPDATA%\cloud-code\ directory to remove the cloudcode_cli.exe binaries and the ai-companion/cache.
-
Global Storage: Deleted Gemini-related folders in %APPDATA%\Code\User\globalStorage\.
-
VS Code Bin Fix: Attempted the known Windows fix of moving the bin folder into the alphanumeric version directory within the VS Code installation path.
3. Environment & CLI Investigation:
-
Environment Variables: Checked for and removed any system/user variables like GOOGLE_CLOUD_PROJECT or CLOUDSDK_CORE_PROJECT.
-
Gcloud CLI: Ran gcloud config unset project in the terminal to ensure no default project was being injected by the Google Cloud SDK.
4. Extension & Authentication:
-
Full Reinstall: Uninstalled “Google Cloud Code” and “Gemini Code Assist,” cleared extension folders in %USERPROFILE%\.vscode\extensions, and reinstalled only Gemini Code Assist.
-
Account Relog: Signed out of all Google accounts within VS Code and re-authenticated using a personal Gmail account (AI Premium subscriber).
Current Status:
The unknow project ID continues to reappear. The Language Server crashes during the loadAtlasOptions function call (as seen in logs), likely due to a type mismatch when the extension tries to validate an enterprise project ID against a personal user account.