API error: User location is not supported for the API use

,

Goodmorning,

I have a Digitalocean Kubernetes cluster in Amsterdam(Netherlands). On that cluster for the last 6 months I have some microservices that use Gemini 2.5 flash. Yesterday I created a new node pool and deleted the old one(so the Nodes IPs changed).

Since then, all Gemini API calls fail with “{“code”:400,“message”:“User location is not supported for the API use.”,“status”:“FAILED_PRECONDITION”}“, but this in my opinion does not make any sense, since Netherlands is an allowed country for Gemini (https://ai.google.dev/gemini-api/docs/available-regions#available_regions)

This is a quite critical issue for our company, since we rely a lot on Gemini APIs, any clue on how should I proceed to solve the issue(possibly not moving the cluster)? Thank you

Hi @Nicola_Lovo, welcome to the community!

Please follow this and raise concern here: Report IP problem

Thanks for reaching out!