Skip to content

Antigravity Agent crashes on login / Critical bug #1209

@lalgworkspace-cloud

Description

@lalgworkspace-cloud

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions