Gemini API incorrectly reports unsupported location for Singapore VM IP

Hello Google Gemini API Support,

We are experiencing a location-based failure when calling the Gemini API from our backend server.

  • Server public/egress IP: 104.207.93.99
  • Server region: Singapore
  • Model: gemini-3.6-flash
  • Endpoint: v1beta/models/gemini-3.6-flash:generateContent
  • Error: 400 FAILED_PRECONDITION — User location is not supported for the API use.
  • Approximate occurrence: October 8, 2026, around 03:02 UTC

Singapore appears in the Gemini API supported-regions list. We also tested the same API key and model from a separate supported-region network, where the request succeeded with HTTP 200. From this VM, requests consistently fail with the location error.

Could you please check how this IP is classified for Gemini API access and advise whether its location classification can be reviewed or corrected?

We can provide the Google Cloud project ID and additional sanitized request details if needed. We have intentionally not included the API key in this message.

Hello @Nayeem_Ahmed ,

To help us investigate further, please share the details using this form: Gemini API & Google AI Studio Location Issue Report

Thank you!

Hello, I have submitted the requested Gemini API & Google AI Studio Location Issue Report form. Please
let me know if you need any additional information to investigate this issue. Thank you.

Has this issue been fixed? I’m experiencing the same problem with my API.

Hello,

@Nayeem_Ahmed, thank you for submitting the details. Gemini API requests require the outbound IP address to map to one of the available regions. If your server IP is still returning this error, please try the following:

  • Check if your VPS IP is registered to an unsupported region, or try calling the API from a different VPS or network.
  • Report the IP address if you believe its location is mapped inaccurately via Report an IP problem.
  • Ask your hosting provider to submit or update their IP range geofeed at Google ISP Portal.

@Gang, please check that your location is in the available regions list above (without an active VPN or proxy) and try the steps above if calling from a VPS or cloud server. If the issue continues from a supported region, please share which country or region you are calling from.