Gemini fails with HTTP 400 location error; Claude works — US account and Payments region, Antigravity 2.24.0 on macOS

Hello Antigravity team,

All Gemini requests fail with:
HTTP 400 FAILED_PRECONDITION
“User location is not supported for the API use.”

Claude works normally in the same Antigravity installation.

Environment:

  • Antigravity App 2.24.0
  • macOS 27.0.1, Apple Silicon
  • Tested model: Gemini 3.8 Flash Medium
  • Google Terms of Service country: United States
  • Google Payments profile country: United States
  • I am currently working in Beijing, China.
  • Network: Quantumult X, using a node labeled as being in the US.

Reproduction:

  1. Start a new conversation outside any project.
  2. Select Gemini.
  3. Send: “Reply with exactly OK. Do not use any tools or access files.”
  4. The request immediately fails with the location error.

Troubleshooting completed:

  • Updated from 2.23.1 to 2.24.0.
  • Removed and reinstalled the official signed 2.24.0 app, preserving local account data and configuration.
  • Tried a Gemini request through web Remote Control, then retried on desktop. Both failed.
  • Verified that Google Payments country is US.
  • Quantumult X recorded daily-cloudcode-pa.googleapis.com:443 going through PROXY, rather than DIRECT.

Latest reproduction:

  • Time: 2026-10-17 04:15:54 UTC
  • Trajectory ID: 7525ab1f-a1c0-4a88-bd53-ff7a4e*******

Original failure:

  • Time: 2026-10-17 03:49:49 UTC
  • Trace ID: 0x9c8b21938cab****
  • Trajectory ID: 4fd2fecb-4f16-4411-9c5d-108cb******

Could you check whether this rejection is caused by current-location policy, egress-IP classification, or account eligibility/provisioning, and advise the supported next steps?

Thank you.

Hi @Bai_Yixuan,

Welcome to the Forum and thanks for the detailed report

Gemini models in Antigravity are only available in supported countries and regions. Availability is decided from where the request comes from i.e. its network location. Your Terms of Service country and Payments profile country do not override this. Claude models in Antigravity are served by a different backend, so they don’t behave the same way, but that doesn’t mean Gemini is available in your location.

Gemini is currently not available in mainland China. Additionally, traffic routed through VPN or proxy nodes is often classified differently from what the node’s label suggests. Because of this, the FAILED_PRECONDITION error you are seeing is expected behavior and we are not able to override it. Please note that using a VPN or proxy to bypass regional availability restrictions is unsupported and may violate the Terms of Service.

If you’re physically in a supported country and still see this error on a direct connection (no VPN/proxy), please reply with the timestamp and trace ID from that attempt and we’ll take another look.

Hi Google Antigravity Team,

I’m experiencing a frustrating issue with Gemini models in Antigravity, and I don’t understand why this suddenly started happening.

Everything was working normally before, but now all Gemini models consistently fail with the following error:

Error details:

  • HTTP 400 Bad Request

  • Status: FAILED_PRECONDITION

  • Message: “User location is not supported for the API use.”

  • Trace ID: f9d7e0c2bf0d4..

  • Timestamp: November 2, 2026, 11:01:41 UTC

What I’ve confirmed:

  • My Google account country is set to the United States.

  • Gemini 4 Argon and Gemini 3.8 Flash both fail.

  • GPT-OSS 120B works normally in the same application.

  • I’ve completely uninstalled Antigravity, cleared local application data, reinstalled the latest version, and signed in again.

  • The exact same error continues to occur.

I’m confused because I haven’t intentionally changed any relevant account settings, and everything was working before.

Could you please investigate why Gemini suddenly stopped working for my account?

Is this a temporary backend issue, an account-related restriction, or a recent change in how location eligibility is determined?

I’d really appreciate your help identifying the cause and finding a solution.

Thank you!