Hello, I’m using google antigravity 1.23.2 on debian 13. I tried with the latest antigravity 2.x IDE too, same problem. I can’t use gemini models, as it is giving me the same error for any of the prompts with all gemini models. With claude it is working, but i run out of tokens fast. If i try it locally without SSH, all gemini model working. With this same SSH connection i was working on this project for 6+ months without problem. IDE running locally, but i connect with SSH to a remote server where the code located (with webserver, database, etc). I have Google AI PRO subscription.
Trajectory ID: d980f203-51de-4ea5-a76d-3a5564d42d..
Error: HTTP 400 Bad Request
Sherlog:
TraceID: 0xef5970a9d69be0..
Headers: {“Alt-Svc”:[“h3=”:443"; ma=2592000,h3-29=“:443”; ma=2592000"],“Content-Length”:[“140”],“Content-Type”:[“text/event-stream”],“Date”:[“Thu, 16 Jul 2026 11:04:35 GMT”],“Server”:[“ESF”],“Server-Timing”:[“gfet4t7; dur=727”],“Vary”:[“Origin”,“X-Origin”,“Referer”],“X-Cloudaicompanion-Trace-Id”:[“ef5970a9d69be0..”],“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”
}
}