HTTP 400 Bad Request

Everything was working fine until yesterday, but today I suddenly started getting this error all the time. Does anyone know how to fix it?

Trajectory ID: 3ef2f1ac-d146-4e3f-858e-446953c96c..
Error: HTTP 400 Bad Request
Sherlog:
TraceID: 0x23fc500b04ab95..
Headers: {“Alt-Svc”:[“h3=”:443"; ma=2592000,h3-29=“:443”; ma=2592000"],“Content-Length”:[“140”],“Content-Type”:[“text/event-stream”],“Date”:[“Fri, 21 Aug 2026 06:46:01 GMT”],“Server”:[“ESF”],“Server-Timing”:[“gfet4t7; dur=560”],“Vary”:[“Origin”,“X-Origin”,“Referer”],“X-Cloudaicompanion-Trace-Id”:[“23fc500b04ab95..”],“X-Content-Type-Options”:[“nosniff”],“X-Frame-Options”:[“SAMEORIGIN”],“X-Xss-Protection”:[“0”]}

{
“error”: {
“code”: 400,
“message”: “User location is not supported for the API use.”,
“status”: “FAILED_PRECONDITION”
}
}

Hi @cracker_taro, welcome to the forum!

Could you please follow these steps:

Disable IPv6 on Your Network Adapter. When ISPs rotate IPv6 prefixes, the new block can be mistakenly flagged as out-of-region:

  • Windows: Open Control Panel > Network Connections > Right-click your Wi-Fi/Ethernet > Properties > Uncheck Internet Protocol Version 6 (TCP/IPv6) > Click OK.
  • macOS: Go to System Settings > Network > Your Connection > Details > TCP/IP > Set Configure IPv6 to Link-local only.
  • Restart Antigravity and try again.

Disable VPNs, Proxies, or Private Relay

  • Turn off any active VPNs, Cloudflare WARP, or corporate proxy clients.
  • On macOS, ensure iCloud Private Relay is toggled off under Apple ID settings.

Test with a Mobile Data Hotspot

  • Connect your PC to your phone’s cellular hotspot. Check if Antigravity works on mobile data.

If the issue still persists then Switch Models in the IDE (temporary Workaround)

  • Try with either Gemini 3.5 Flash or Gemini 3.7 Flash.

And also can you please Check Country Association

  • Visit policies.google.com/terms to ensure your account’s primary country hasn’t accidentally shifted to an unsupported region.