Summary
Every Agent run fails immediately with HTTP 400 INVALID_ARGUMENT because the cloudaicompanionProject is empty (projects/). Extensive local debugging has confirmed this is a server-side provisioning failure: the loadCodeAssist API never returns a cloudaicompanionProject, and onboardUser returns done: true without a project binding. Requesting a server-side reset of the cloudaicompanionProject binding for this account.
Root Cause Analysis (Detailed)
Through systematic debugging I have identified the full causal chain:
-
Original blocker (now resolved): ESET Endpoint Security 12.0 kernel-level WFP drivers (
epfw.sys,epfwwfp.sys) were intercepting and aborting localhost TLS handshakes between Antigravity’s extension host and its Go language server. This causedwsarecv: An established connection was aborted by the software in your host machineerrors during every startup, which prevented the OAuth token flow from completing. -
ESET has been fully uninstalled. Post-removal logs confirm zero TLS handshake errors — the localhost communication is now clean.
-
However, the account provisioning state is now stuck server-side. The
loadCodeAssistendpoint atdaily-cloudcode-pa.googleapis.com/v1internal:loadCodeAssistreturns HTTP 400 with"Request contains an invalid argument"because the request contains an empty project resource name (projects/). Inspection of Antigravity’s internal state database (state.vscdb) confirms that theenterpriseGcpProjectIdfield inantigravityUnifiedStateSync.enterprisePreferencesis empty (protobuf valueGgA== zero-length string). -
The onboarding flow does not re-provision the project. Resetting onboarding, signing out/in, and switching between email aliases all fail to trigger project creation. The server appears to consider onboarding already complete.
-
User-created GCP projects are not accepted. During onboarding, manually selecting a GCP project with Cloud AI Companion API enabled) results in “This Google Cloud project is not supported.”
Environment
- OS: Microsoft Windows 11 Version 24H2 (OS Build 26100.7840), x64
- Antigravity: 1.22.2 (updated from 1.16.5 during troubleshooting)
- Electron: 39.2.3 → updated with new version
- Device management: Not work-managed (personal device, no MDM)
- VPN/Proxy: None active (NordVPN installed but fully disabled/quit; Cisco AnyConnect present but not connected)
- Account type: Personal Gmail, Google AI Pro subscriber
- 2FA: Enabled
Correlation IDs
Most recent failure (April 8, 2026):
- Trajectory ID:
1d9820d8-d54f- - TraceID:
0xdc57bc - X-Cloudaicompanion-Trace-Id:
dc57bcde - Timestamp: 2026-04-08 15:27:38 UTC
Earlier failure (February 16, 2026, pre-ESET removal):
- Trajectory ID:
71e77778-d804-4 - TraceID:
0x212edb1 - X-Cloudaicompanion-Trace-Id:
212edb16
Error Payload
{
"error": {
"code": 400,
"details": [{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [{
"description": "Invalid project resource name",
"field": "name"
}]
}],
"message": "Invalid project resource name projects/",
"status": "INVALID_ARGUMENT"
}
}
Relevant Log Excerpts (April 8, 2026, post-ESET removal)
Server startup — no TLS errors (ESET fix confirmed):
I0408 13:36:11.660482 server.go:1235] Starting language server process with pid 33588
I0408 13:36:11.673739 server.go:440] Language server will attempt to listen on host 127.0.0.1
I0408 13:36:11.678432 server.go:454] Language server listening on random port at 62223 for HTTPS (gRPC)
(Antigravity) 2026-04-08 13:36:12.889 [INFO]: Language server started
I0408 13:36:12.933051 server.go:1679] initialized server successfully in 1.2695893s
loadCodeAssist fails immediately with 400:
I0408 13:36:13.633669 http_helpers.go:123] URL: https://daily-cloudcode-pa.googleapis.com/v1internal:loadCodeAssist Trace: 0x6664e81b40e89072
I0408 13:36:13.732904 http_helpers.go:166] Failed to make code assist backend request (fetchAdminControls): {
"error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT" }
}
After onboarding reset — OAuth token not found:
E0408 13:38:07.541393 server.go:545] Failed to get OAuth token: error getting token source from auth provider: state syncing error: key not found
W0408 13:38:07.541393 client.go:167] failed to set auth token
E0408 13:38:15.151162 interceptor.go:74] /exa.language_server_pb.LanguageServerService/GetUserStatus (unknown): error getting token source: state syncing error: key not found
Agent planner request — empty project:
I0408 10:27:16.174261 planner_generator.go:283] Requesting planner with 7 chat messages at model retry attempt 1 and API retry attempt 1
E0408 10:27:16.551483 log.go:398] agent executor error: INVALID_ARGUMENT (code 400): Invalid project resource name projects/
Internal State Verification
Queried state.vscdb → antigravityUnifiedStateSync.enterprisePreferences:
- Field
enterpriseGcpProjectIdis present but contains an empty protobuf string (base64:GgA=, decodes to\x1a\x00) antigravityAuthStatuscontains a valid access token (ya29.*) and correct account nameantigravityUnifiedStateSync.userStatuscontains no project references
Troubleshooting Already Attempted (All Failed to Resolve)
Network/security fixes (resolved TLS errors but not provisioning):
Full uninstall of ESET Endpoint Security 12.0 (including kernel drivers epfw.sys,epfwwfp.sys) — confirmed removed viadriverquery
Disabled and quit NordVPN + Threat Protection (all kernel drivers: NDivert, NordDivert10, tapnordvpn)
Set HOMEenvironment variable to%USERPROFILE%
Set GOOGLE_CLOUD_PROJECTenvironment variable
Auth/state resets (did not trigger re-provisioning):
Deleted .antigravityand%APPDATA%\Antigravityfolders, re-onboarded
Ctrl+Shift+P → “Antigravity: Reset onboarding” (multiple times)
Revoked Google account connections and re-authenticated
Signed in with both primary Gmail
Cleared GPU cache, .geminifolder, and Antigravity cache
Cleared Windows Credential Manager of all Antigravity/Google/Gemini entries
Fixed UTF-8 BOM corruption in mcp_config.jsonfiles (caused MCP parse errors)
Disabled all MCP servers
GCP project configuration (not accepted):
Created new GCP project and enabled Cloud AI Companion API
Enabled Cloud AI Companion API on existing project
Enabled 2FA on Google account
Attempted to select GCP project during onboarding — rejected as “not supported”
Set cloudcode.projectin settings.json — ignored by language server
Cannot test with alternate account: Only other Google account is ASU Workspace/managed and ineligible for Antigravity.
Request
Please reset the server-side cloudaicompanionProject binding for account so that the next login triggers a fresh project auto-provisioning. The original provisioning failure was caused by ESET firewall interference (now resolved), but the account state is stuck server-side with onboardUser: done and no project assigned.
This matches the known pattern described in:
- gemini-cli#24747 (filed April 6, 2026): “stale cloudaicompanionProject binding on the server”
- CLIProxyAPI#1030 (filed January 15, 2026): “loadCodeAssist API doesn’t return cloudaicompanionProject”
- Multiple forum threads dating to February 2026
Related Issues
- 403 PERMISSION_DENIED for Google One AI Premium subscriber - VS Code extension auto-injects inaccessible Ghost Project ID after OAuth login · Issue #24747 · google-gemini/gemini-cli · GitHub
- Antigravity auth causes infinite refresh loop when project_id cannot be fetched · Issue #1030 · router-for-me/CLIProxyAPI · GitHub
- Persistent HTTP 400 "Invalid project resource name projects/" in Antigravity & Cockpit Tools - Google AI Pro Subscriber
- Critical Bug: Persistent HTTP 400 "Invalid project resource name projects/" even after Gmail switch
- [Bug] Google AI Pro Personal Account Blocked — “missing enterprise project_id” Error in Antigravity Manager