API stopped working in the Netherlands

API stopped working in the Netherlands. Modified by moderator. Writes: From Google: Error: User location is not supported for the API use. (400). Although it worked recently. What could be the problem?

2 Likes

Is it still down and are you sure you’re not using a VPN?

Hi, I am facing the same problem. The API suddenly stopped working in the Netherlands although the IP address of my machine didn’t change.

1 Like

I tried using the API from the Netherlands using a VPN and everything seems to work for me.

Could you try opening ipinfo.io and copy-pasting what it says?

And just to verify, you are calling the API from your machine, not from something like colab?

2 Likes

Hi @Guillaume_Vernade , not OP, but also experiencing this issue.

Last week, Gemini API was working for us. Now suddenly we get HTTP 400 “User location is not supported for the API use”.

{
  "ip": "188.245.176.109",
  "hostname": "static.109.176.245.188.clients.your-server.de",
  "city": "NĂĽrnberg",
  "region": "Bavaria",
  "country": "DE",
  "loc": "49.4542,11.0775",
  "org": "AS24940 Hetzner Online GmbH",
  "postal": "90402",
  "timezone": "Europe/Berlin",
  "readme": "https://ipinfo.io/missingauth"
}

A peculiar thing is that the API still works from our office in Copenhagen, Denmark.

1 Like

@Guillaume_Vernade I also started seeing this a few days ago. My server is in us-east-1 (Hetzner).

{
  "ip": "178.156.132.34",                                                                                                                               "hostname": "static.34.132.156.178.clients.your-server.de",
  "city": "Ashburn",
  "region": "Virginia",
  "country": "US",
  "loc": "39.0437,-77.4875",
  "org": "AS213230 Hetzner Online GmbH",
  "postal": "20147",
  "timezone": "America/New_York",
  "readme": "https://ipinfo.io/missingauth"
}
1 Like

I believe the issue is related to some IP blocks acquired by Hetzner which have previously been assigned to Iran, and still appear with outdated data in some geolocation databases.

Ideally, Google would update their blocklists. Until then, you can try using IPv6 instead.

Hello Everyone,

If anyone are still facing IP related issues, please report using this link