-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Bug Report: Gemini Code Assist crashes on startup with "Invalid project resource name projects/"
Environment:
Editor: Antigravity (VS Code Fork)
Account: Google AI Ultra subscription
OS: Windows
Issue Description:
Since the mid-February update, the Gemini Code Assist agent completely crashes upon opening the chat or attempting to use AI features. It fails to resolve the correct Google Cloud Project ID, sending an empty project string to the backend, resulting in an HTTP 400 Bad Request.
Steps Already Taken (Troubleshooting - Do not suggest these):
Completely purged %APPDATA%\Antigravity, %LOCALAPPDATA%\google-vscode-extension, and %LOCALAPPDATA%\cloud-code to ensure no token conflicts.
Removed all Windows Environment Variables (%GOOGLE_CLOUD_PROJECT%).
Disabled Settings Sync to prevent cloud-restoration of bad configs.
Hardcoded the project ID in settings.json:
"geminicodeassist.project": "gen-lang-client-0673497893"
"google.cloud.projectId": "gen-lang-client-0673497893"
Disabled the "Cloud Code" extension to isolate the Gemini agent.
Actual Behavior:
Despite the settings.json explicitly defining the project ID, the extension ignores or fails to parse it. The server crashes with the following trace (always reproducible):
Error: HTTP 400 Bad Request
TraceID: 0xa1de9df9f2444be8
Payload Response:
"message": "Invalid project resource name projects/",
"status": "INVALID_ARGUMENT"
Conclusion:
The extension is failing to append the project ID to the resource path before making the API call. This is a critical routing/parsing bug in the current version of the extension when interacting with AI Ultra accounts.