Gemini in Antigravity suddenly fails with "User location is not supported" — I'm in the US and everything else works fine

Hi everyone,

I’m a Google AI Pro subscriber and have been using Antigravity with Gemini models without any issues. Since recently, every Gemini conversation fails immediately with:

Agent execution terminated due to error.

In the logs I found this line:

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

This is really confusing to me because:

  • my Google account region is set to the US, and I am located in the US
  • Gemini works completely fine in AI Studio and the Gemini app with the same account
  • Claude models work fine in Antigravity on the same machine
  • only Gemini inside Antigravity fails

So I honestly don’t understand why Antigravity thinks my location is “not supported” when everything else on the same account, same IP, and same machine works perfectly. I also noticed in the logs that the app is calling a “daily-cloudcode-pa.googleapis.com” endpoint instead of the normal one — not sure if that is related, but mentioning it in case it helps.

Has anyone else seen this? I would really appreciate any help or advice. Happy to provide more logs if needed.

Thank you!

Hi @ko_zero,

Could you please try these steps:

  1. Clear Overrides & Update:

    • Remove any custom endpoint overrides in Settings (Ctrl + , / Cmd + ,) or environment variables (CLOUDCODE_ENDPOINT).
    • Download and install the latest stable build from antigravity.google.
  2. Reset Session:

    • Press Ctrl + Shift + P (or Cmd + Shift + P on macOS) and run: Antigravity: Reset Onboarding, then sign back in.

Please let us know if updating or resetting onboarding resolves this for you or the issue still persists.