# Gemini API rejects Azure MalaysiaWest IP as unsupported location

**URL:** <https://discuss.ai.google.dev/t/gemini-api-rejects-azure-malaysiawest-ip-as-unsupported-location/184007>\
**Category:** Gemini API\
**Tags:** api\
**Created:** [September 21, 2026, 4:19am UTC](https://discuss.ai.google.dev/t/gemini-api-rejects-azure-malaysiawest-ip-as-unsupported-location/184007 "2026-09-21T04:19:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevedudu9](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/stevedudu9/32/151117_2.png) [@stevedudu9](https://discuss.ai.google.dev/u/stevedudu9)\
**Post date:** [September 21, 2026, 4:19am UTC](https://discuss.ai.google.dev/t/gemini-api-rejects-azure-malaysiawest-ip-as-unsupported-location/184007/1 "2026-09-21T04:19:29Z")

</div>

am using the Gemini Developer API from an Azure VM located in the `MalaysiaWest` region. Malaysia is listed as a supported Gemini API location.

Requests from the VM return:

`HTTP 400`

`FAILED_PRECONDITION`

`User location is not supported for the API use.`

This occurs for both `generate_content` and the read-only `models.list` endpoint, so it does not appear to be related to request schema or model generation.

Environment:

- Azure region: `MalaysiaWest`
- Transport: IPv4
- IPv6: unavailable
- SDK: `google-genai 2.23.0`
- Configured model: `gemini-3.8-flash`
- No VPN or proxy is being used by the VM
- Azure metadata reports MalaysiaWest
- External geolocation of the Azure outbound IPv4 appears as United Kingdom

Could the Gemini API team please check whether this Azure outbound IP or its range is being incorrectly classified or blocked?

I can provide the exact outbound IPv4 privately if required.

I have intentionally not included the API key.

---

<div class="post-metadata">

**Author:** ![Payal\_Sharma2](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/payal_sharma2/32/31911_2.png) [@Payal\_Sharma2](https://discuss.ai.google.dev/u/Payal_Sharma2)\
**Post date:** [September 29, 2026, 2:34pm UTC](https://discuss.ai.google.dev/t/gemini-api-rejects-azure-malaysiawest-ip-as-unsupported-location/184007/2 "2026-09-29T14:34:18Z")

</div>

Dm’ed you for more details.

---

<div class="post-metadata">

**Author:** ![Payal\_Sharma2](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/payal_sharma2/32/31911_2.png) [@Payal\_Sharma2](https://discuss.ai.google.dev/u/Payal_Sharma2)\
**Post date:** [October 16, 2026, 9:39am UTC](https://discuss.ai.google.dev/t/gemini-api-rejects-azure-malaysiawest-ip-as-unsupported-location/184007/3 "2026-10-16T09:39:46Z")

</div>

Hi @stevedudu9,

The IP address you provided is associated with an unsupported region and is blocked. Please try making your requests from a different network or IP address located in a supported region.
