IP blocked for Gemini API - US-based VPS, legitimate use case

I’m encountering a 400 error when calling the Gemini API from my VPS:

copy

> "User location is not supported for the API use."
>

>

My IP: 96.44.141...
Location: Los Angeles, California, US (HostPapa / AS36352)
Use case: Personal development / API automation via Hermes Agent

>

The IP is physically in the US and is a legitimate VPS for software development. Could you please review and whitelist this IP if it was incorrectly flagged as a datacenter IP?

>

Thank you!

Hello @Joey_chen1 ,

This could be specific to your IP address. Please report it on our Report IP problems page. Suggested workarounds which may help for now:

  • Try temporarily switching to a different network (e.g. try with the hotspot from your phone if available).

  • Try asking your host for a new IP.

  • Trying switching between IPv6 / IPv4.