Antigravity IDE 2.5.5 - FAILED_PRECONDITION (400): User location is not supported in Spain

I am experiencing a persistent server-side error with Antigravity IDE 2.5.5 on Windows 11 x64.

Every Agent request, including a simple “hello”, fails with:

Agent execution terminated due to error

The Antigravity Language Server log shows the underlying response:

FAILED_PRECONDITION (code 400): User location is not supported for the API use.

Affected endpoint:
daily-cloudcode-pa.googleapis.com / streamGenerateContent

Diagnostic findings:

  • I am located in Spain, an officially supported Antigravity region.
  • OAuth authentication succeeds (“Auth succeeded”).
  • Antigravity Language Server 2.5.5 initializes successfully.
  • Available-model requests succeed.
  • Google AI Studio works normally with the same Google account and the same Internet connection.
  • Windows has no proxy configured.
  • The request reaches Google’s backend and is rejected specifically when streamGenerateContent is called.
  • The failure occurs with trivial prompts and multiple Gemini models.

Local diagnostics have not found evidence of an installation, authentication, proxy, or local permission problem.

Could the Antigravity team please check the server-side reason why my account/request is failing the regional/eligibility validation despite being in Spain?

I can provide the relevant Trace ID / Trajectory ID and specific ls-main.log entries privately if needed.

For privacy reasons, I have not included authentication tokens, cookies, API keys, public IP address, or other sensitive account information.

Environment:

  • Windows 11 x64
  • Antigravity IDE 2.5.5
  • Country: Spain

Hi @Caracola_Design,

Could you please follow these steps:

  • Open PowerShell and check if any endpoint variables are active:
    • Get-ChildItem Env: | Where-Object { $_.Name -like "*CLOUDCODE*" -or $_.Name -like "*ANTIGRAVITY*" }
    • If variables such as CLOUDCODE_API_ENDPOINT or ANTIGRAVITY_ENDPOINT are set to daily-cloudcode-pa.googleapis.com, remove them from your Windows System Environment Variables and restart the IDE.
  • Remove Endpoint Overrides in Settings:
    • Open your IDE Settings (settings.json) and verify if keys like "antigravity.endpoint", "cloudcode.endpoint", or "google.cloud.endpoint" are present. If so, remove them so the IDE defaults to the production endpoint.
  • Remove Cached Endpoints & Reset Session:
    • Press Ctrl + Shift + P in the IDE and run: Antigravity: Reset Onboarding.
    • Close the IDE, delete the %APPDATA%\Antigravity and %USERPROFILE%\.gemini cache folders, and sign back in to establish a fresh connection to the production gateway.
  • Verify Extension Channel:
    • Ensure your Antigravity extension is set to the Release Channel (Stable) rather than the Pre-Release channel in the Extensions view.

Please let us know if resetting the onboarding and cache resolves the issue for you!