Paid Gemini API Key Works Locally but Fails from InterServer VPS

Hi,

I am using a paid Gemini API key/project for my wordsearchbox.com.

The same API key works successfully from my local machine, but fails from my production VPS with:

HTTP 400
User location is not supported for the API use.

VPS details:

  • Provider: InterServer

  • Public IP: 104.218.53.1..

  • ASN: AS19318

  • Public geolocation services identify the IP as located in the United States.

The server can reach the Gemini API endpoint successfully, and the issue occurs only when making Gemini API requests.

Could you please verify whether this IP/subnet is being classified as an unsupported location by Gemini API and advise if there is any remediation process available?

This affects a production application that generates educational word-search puzzles.

Thank you.

Hi, 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.

Thanks Payal, I did report it. Its Linux VPS Slice from interserver and datacenter, in Carlstadt, NJ.
Gemin API Key is a paid one and worked for a week, and now this issue. I really want google to answer on why it did that, its just a simple api call for a simple game every 1 hour.