Gemini returns HTTP 400 location error through Taiwan exit — requesting clarification of the rejection

Hello Antigravity team,

Gemini requests in Antigravity fail with:

HTTP 400 FAILED_PRECONDITION
“User location is not supported for the API use.”

Environment:

  • Windows, Antigravity App 2.28.2
  • Model: Gemini 3.8 Flash (High Thinking)
  • My physical location: [填写你实际所在的国家或地区]
  • The Google Terms of Service page displays Taiwan.
  • I use Clash Verge with an explicit HTTP/HTTPS proxy.
  • TUN mode is disabled.

Local checks:

  • language_server.exe connects to the local proxy at 127.0.0.1:7897.
  • Clash shows daily-cloudcode-pa.googleapis.com routed through the selected Taiwan node.
  • A third-party IP lookup reports the exit as Taiwan. I understand this does not establish Google’s own classification.
  • With the same account, requests through a US exit have succeeded, while the Taiwan exit returns the location error.
  • Codex and other AI services work on the same computer.

One recorded failure occurred on November 2, 2026, at 20:12:14 UTC+8.

Could you clarify:

  1. Is this rejection caused by Google’s classification of the exit IP, physical-location policy, or account eligibility?
  2. Is there a supported way to check or request review of the classification?
  3. Which request identifiers should I provide, and through which private channel?

Thank you.

Hi @Song_Albert,

  • Why you’re getting the location error Antigravity requires both your network location and your Google Account country to be in a supported region (which includes Taiwan).

    • Since your account works on another connection and your Google Terms of Service page shows Taiwan, your account country isn’t the issue (and daily-cloudcode-pa.googleapis.com is the normal production endpoint).
    • The HTTP 400 FAILED_PRECONDITION ("User location is not supported for the API use.") error happens server-side based on how Google’s internal geolocation system classifies your exit IP. Commercial VPNs, proxies, and hosting/VPS subnets (like Clash Verge nodes that third-party IP tools list as Taiwan) are often flagged outside supported regions by Google.
  • Checking or fixing the IP classification

    • VPNs and proxies: We don’t offer a self-service IP check tool, and we can’t whitelist or override geolocation for third-party VPN/proxy nodes (using a proxy or VPN to qualify for regional access isn’t supported).
    • Direct ISP connections: If you’re physically in Taiwan (or another supported region), turn off Clash Verge/proxies and try a direct residential, enterprise, or mobile ISP connection. If a direct local ISP connection is still blocked, you can submit Google’s Report IP problems form (note that you won’t get an email reply and updates can take a few weeks; if you ever need to check or change your account country, use Google Terms of Service or the Country association form).
  • How to report this privately Please don’t post your email or public IP on the public forum. If the HTTP 400 error still happens on a direct, non-proxied connection in a supported region, send us the details privately:

    • Email (for a reply from support): antigravity-support@google.com
    • In-app Feedback (one-way report): Go to Settings > Give Feedback in the Antigravity App (Settings documentation) and paste the info into the Description field.

    Please include:

    • The output from clicking Copy debug info on the error popup (this includes your Trajectory ID and TraceID).
    • The exact UTC timestamp of the failed request (e.g., 2026-11-02T12:12:14Z).
    • Confirmation that you tested on a direct (non-VPN/non-proxy) connection, along with your country and ISP name.