# Account restricted to AQ. tokens - requesting AIza key restoration

**URL:** <https://discuss.ai.google.dev/t/account-restricted-to-aq-tokens-requesting-aiza-key-restoration/170372>\
**Category:** Gemini API\
**Tags:** api\
**Created:** [June 9, 2026, 6:22am UTC](https://discuss.ai.google.dev/t/account-restricted-to-aq-tokens-requesting-aiza-key-restoration/170372 "2026-06-09T06:22:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyuwon\_Hwang](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/kyuwon_hwang/32/31805_2.png) [@Kyuwon\_Hwang](https://discuss.ai.google.dev/u/Kyuwon_Hwang)\
**Post date:** [June 9, 2026, 6:22am UTC](https://discuss.ai.google.dev/t/account-restricted-to-aq-tokens-requesting-aiza-key-restoration/170372/1 "2026-06-09T06:22:19Z")

</div>

Hello Google AI Developer Support Team,

I am writing to request restoration of my account’s ability to generate standard AIza format API keys in Google AI Studio.

Issue: All API keys generated from my account now produce AQ. prefix tokens instead of the standard AIza format. This affects all projects including newly created ones. The AQ. keys return 401 Unauthorized errors when used with [generativelanguage.googleapis.com](http://generativelanguage.googleapis.com) endpoints.

I believe my account was automatically flagged because an API key was accidentally exposed in a public GitHub repository. I have since deleted the exposed key and removed it from the repository.

I am a developer building an internal inspection tool and rely on the Gemini API for my workflow. Please review my account and restore standard AIza key generation.

Thank you.

---

<div class="post-metadata">

**Author:** ![Kyuwon\_Hwang](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/kyuwon_hwang/32/31805_2.png) [@Kyuwon\_Hwang](https://discuss.ai.google.dev/u/Kyuwon_Hwang)\
**Post date:** [June 9, 2026, 6:27am UTC](https://discuss.ai.google.dev/t/account-restricted-to-aq-tokens-requesting-aiza-key-restoration/170372/2 "2026-06-09T06:27:57Z")

</div>

My account email is: …Please restore AIza key generation for my account.

---

<div class="post-metadata">

**Author:** ![Jon\_Matthews](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jon_matthews/32/87966_2.png) [@Jon\_Matthews](https://discuss.ai.google.dev/u/Jon_Matthews)\
**Post date:** [June 12, 2026, 9:15am UTC](https://discuss.ai.google.dev/t/account-restricted-to-aq-tokens-requesting-aiza-key-restoration/170372/3 "2026-06-12T09:15:56Z")

</div>

We are moving away from Traffic keys (Alza) and towards a more secure Authentication Key (AQ). AI Studio will now only generate Authentication Key (AQ) keys. More information on key usage can be found in the [Using Gemini API keys](https://ai.google.dev/gemini-api/docs/api-key) documentation.

Please submit any compatibility issues with services / SDKs etc. in [this form](https://docs.google.com/forms/d/e/1FAIpQLSeE_etCum8howWWbOUP-nZubqejkr6RJ2OyHo3NAs6CmojdTQ/viewform) for our engineering team to review. Thanks!

---

<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:41pm UTC](https://discuss.ai.google.dev/t/account-restricted-to-aq-tokens-requesting-aiza-key-restoration/170372/4 "2026-11-05T18:41:50Z")

</div>

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

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