Antigravity 2.24.0: HTTP 400 location error persists with verified JP/US egress, while Gemini web works

Antigravity Desktop 2.24.0 on Windows consistently rejects Gemini generation with HTTP 400 / FAILED_PRECONDITION: “User location is not supported for the API use.”

Trajectory ID: e6b9ade3-53eb-490b-8126-927a826****

Trace IDs and response timestamps:

  • 0x2bb124a80e13**** — 2026-10-17 11:32:15 UTC
  • 0x786607c09f07**** — 2026-10-17 11:56:13 UTC

The same Google account can generate responses in Gemini web. Its Google Terms of Service page displays Japan. Local TUN routing, DNS, and ordinary Google HTTPS connectivity work. We explicitly relaunched Antigravity with HTTP_PROXY/HTTPS_PROXY/ALL_PROXY pointing to the working local HTTP proxy and with the matching Chromium proxy switch. We verified that the language_server process established connections to that proxy.

The same error persists after complete restarts and testing both a Japan egress and a distinct US egress verified by IPinfo. This does not establish how Google’s Antigravity API classifies those exact requests.

Please investigate the account/service eligibility verdict and the API egress region classification for the trace IDs above, identify the specific precondition that failed, and advise on a supported resolution.

Hi @wuluo,

Our support team can’t look up external Trajectory IDs or redacted Trace IDs directly, but here is why this is happening:

Unlike Gemini Web, the Antigravity API checks your egress IP against Google’s own geolocation database. Commercial VPN, TUN, and proxy/datacenter IPs (even when IPinfo shows Japan or the US) often map to a different registered region in Google’s routing tables, triggering FAILED_PRECONDITION: User location is not supported for the API use.

Since your Google Terms of Service page already shows Japan, please try:

  1. Connect directly without the proxy: Launch Antigravity Desktop on a standard residential/ISP connection in a supported region ( FAQ | Google Antigravity Docs ) without HTTP_PROXY/HTTPS_PROXY/ALL_PROXY, TUN routing, or Chromium proxy flags.
  2. Clear custom endpoints & refresh auth: Make sure settings.json (Ctrl+,) has no custom server URL overrides, confirm age verification at https://myaccount.google.com/age-verification, and run Antigravity: Reset Onboarding (Ctrl+Shift+P).

If the error still happens on a direct, non-proxied connection in Japan or the US, please share the log output from View > Output > Antigravity Language Server (as a .txt file or screenshot) so we can take a closer look.