# Google AI Studio: Permission Denied & Location Not Supported Loop on Android

**URL:** <https://discuss.ai.google.dev/t/google-ai-studio-permission-denied-location-not-supported-loop-on-android/172441>\
**Category:** Google AI Studio\
**Tags:** bug, ai-studio, api\
**Created:** [June 24, 2026, 3:36am UTC](https://discuss.ai.google.dev/t/google-ai-studio-permission-denied-location-not-supported-loop-on-android/172441 "2026-06-24T03:36:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruth\_Okojie](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/ruth_okojie/32/34587_2.png) [@Ruth\_Okojie](https://discuss.ai.google.dev/u/Ruth_Okojie)\
**Post date:** [June 24, 2026, 3:36am UTC](https://discuss.ai.google.dev/t/google-ai-studio-permission-denied-location-not-supported-loop-on-android/172441/1 "2026-06-24T03:36:08Z")

</div>

Hello. My account is failing to connect to Google AI Studio on Android, throwing a `USER_LOCATION_STRUCT_NOT_SUPPORTED` error and a `Permission Denied` project token block. My physical location profile is clear, but the backend API drops the session requests immediately. Please reset the region restriction on my developer project ID. This is happening across multiple accounts on my device.

---

<div class="post-metadata">

**Author:** ![Bd4search](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/bd4search/32/132699_2.png) [@Bd4search](https://discuss.ai.google.dev/u/Bd4search)\
**Post date:** [June 24, 2026, 4:34am UTC](https://discuss.ai.google.dev/t/google-ai-studio-permission-denied-location-not-supported-loop-on-android/172441/2 "2026-06-24T04:34:06Z")

</div>

Hello @Ruth_Okojie,

The `USER_LOCATION_STRUCT_NOT_SUPPORTED` loop combined with a project token block usually triggers when there is a mismatch between the device’s broadcasted telemetry, network configuration, and the Google Cloud project’s region setup.

Since it is happening across multiple accounts on the same Android device, here are the official troubleshooting steps to resolve this regional API drop:

### 1. Verify Google Play Services & Device Region

The backend API for Google AI Studio reads the region directly from your device’s core system settings rather than just your IP address.

- Go to your device **Settings \> System \> Languages & Region** and ensure your current physical region matches exactly.
- Go to **Settings \> Apps \> Google Play Services \> Storage** and clear its cache. This forces Google’s location-based token system to re-evaluate your device profile.

### 2. Disable Network-Level Proxies, VPNs, or Private DNS

If you are using a Private DNS (like NextDNS or AdGuard) or a VPN/Proxy network configuration, the Gemini API backend might flag the structural location metadata as obfuscated or corrupted.

- Temporarily disable any active VPNs or custom DNS protocols.
- Switch from Wi-Fi to Mobile Data (or vice versa) to see if a specific network routing is causing the session requests to drop.

### 3. Check Google Cloud Project Constraints

Community members or forum moderators cannot manually reset specific developer project IDs. However, you can verify if a regional restriction policy is active:

- Go to the **Google Cloud Console** associated with your AI Studio project.
- Navigate to **IAM & Admin \> Organization Policies**.
- Search for the policy named **“Define allowed resource locations”** (`gcp.resourceLocations.allowedRegions`). If this policy is enforced on your organization or project level, it will block backend API access even if your physical location is supported.

If your device configuration is completely stock and the issue persists across all networks, it is highly likely a temporary backend telemetry glitch on the API endpoint, and a Google engineer on this forum will need to flag it for backend review.

---

<div class="post-metadata">

**Author:** ![Rebbanpalli\_Naveen](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/rebbanpalli_naveen/32/120945_2.png) [@Rebbanpalli\_Naveen](https://discuss.ai.google.dev/u/Rebbanpalli_Naveen)\
**Post date:** [June 25, 2026, 8:05am UTC](https://discuss.ai.google.dev/t/google-ai-studio-permission-denied-location-not-supported-loop-on-android/172441/3 "2026-06-25T08:05:18Z")

</div>

Hello @Ruth_Okojie,

Could you please confirm which location you are trying to access AI Studio from? And you can refer to the Google AI Studio regional and account settings documentation ([https://ai.google.dev/gemini-api/docs/available-regions](https://ai.google.dev/gemini-api/docs/available-regions)) for more details.

---

<div class="post-metadata">

**Author:** ![Ruth\_Okojie](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/ruth_okojie/32/34587_2.png) [@Ruth\_Okojie](https://discuss.ai.google.dev/u/Ruth_Okojie)\
**Post date:** [June 25, 2026, 11:52am UTC](https://discuss.ai.google.dev/t/google-ai-studio-permission-denied-location-not-supported-loop-on-android/172441/4 "2026-06-25T11:52:27Z")

</div>

Hello! It has been sorted out and fixed. Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/system/32/1_2.png) [@system](https://discuss.ai.google.dev/u/system)\
**Post date:** [November 5, 2026, 6:42pm UTC](https://discuss.ai.google.dev/t/google-ai-studio-permission-denied-location-not-supported-loop-on-android/172441/5 "2026-11-05T18:42:37Z")

</div>

Closed on November 5, 2026, 6:42pm UTC

This thread was automatically closed 60 days after the last reply. If you are running into an issue, please create a new post.
