All Gemini models fail in Antigravity with FAILED_PRECONDITION: User location is not supported for the API use AI Studio works normally

Environment

  • Google AI Pro account
  • US IP (AWS Oregon)
  • Google AI Studio works normally
  • Same account
  • Same IP

Problem

All Gemini models in Antigravity fail immediately.

Claude works normally.

GPT works normally.

Only Gemini fails.

Error

HTTP 400

FAILED_PRECONDITION

User location is not supported for the API use.

Trajectory ID

6726ab62-7e3e-49c5-b80a-adb5bbf326..

Trace ID

0x7a66aa248e51a3..

This appears to be an Antigravity Gemini provider routing issue because AI Studio works correctly with the same account and same IP.

Hi @dorothy_zhou,

Thank you for reaching out.

To resolve this issue, please follow these steps:

  1. Check Account Country/Region: Visit the Google Terms of Service page while signed into your account to view the registered country associated with your profile. If the listed country is unsupported, submit a request to update your region at https://policies.google.com/country-association-form as detailed in our Geographical Availability FAQ.
  2. Verify Age Eligibility: Confirm that your personal Google Account age is verified at https://myaccount.google.com/age-verification (Age Verification FAQ).
  3. Update & Refresh Local Auth Cache: Ensure you are on the latest version of Antigravity (Google Antigravity - Download), then press Ctrl+Shift+P (or Cmd+Shift+P on macOS) and run Antigravity: Reset Onboarding to refresh your cached account claims.

If the issue persists after completing these steps, please share a fresh Trajectory ID / Trace ID from the latest version.