# Account restricted from generating AIza API keys — only AQ. tokens generated

**URL:** <https://discuss.ai.google.dev/t/account-restricted-from-generating-aiza-api-keys-only-aq-tokens-generated/169279>\
**Category:** Gemini API\
**Tags:** api-key\
**Created:** [June 3, 2026, 5:09pm UTC](https://discuss.ai.google.dev/t/account-restricted-from-generating-aiza-api-keys-only-aq-tokens-generated/169279 "2026-06-03T17:09:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MK\_HAN](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mk_han/32/128974_2.png) [@MK\_HAN](https://discuss.ai.google.dev/u/MK_HAN)\
**Post date:** [June 3, 2026, 5:09pm UTC](https://discuss.ai.google.dev/t/account-restricted-from-generating-aiza-api-keys-only-aq-tokens-generated/169279/1 "2026-06-03T17:09:57Z")

</div>

Hello Google AI Developer Support Team,  
I am writing to report an issue with my Google account that is preventing me from generating standard Gemini API keys (AIza…) in Google AI Studio.

Account email: [g…@gmail.com]

Issue: All newly created API keys across all my projects only generate AQ. prefix tokens instead of the standard AIza format. This started recently without any action on my part.

I have tried:

- Creating keys in multiple existing projects
- Creating brand new Google Cloud projects
- Deleting and regenerating keys

None of these attempts produce an AIza prefix key.

The AQ. tokens do not work with Gemini CLI authentication (GEMINI\_API\_KEY environment variable).

Request:  
Please restore my account’s ability to generate standard AIza format API keys.

Thank you.

---

<div class="post-metadata">

**Author:** ![Elizabeth\_Campbell](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/elizabeth_campbell/32/129904_2.png) [@Elizabeth\_Campbell](https://discuss.ai.google.dev/u/Elizabeth_Campbell)\
**Post date:** [June 7, 2026, 5:52pm UTC](https://discuss.ai.google.dev/t/account-restricted-from-generating-aiza-api-keys-only-aq-tokens-generated/169279/2 "2026-06-07T17:52:39Z")

</div>

Hi! Did this work? This is happening to me too.

---

<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, 10:10am UTC](https://discuss.ai.google.dev/t/account-restricted-from-generating-aiza-api-keys-only-aq-tokens-generated/169279/3 "2026-06-12T10:10:53Z")

</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-from-generating-aiza-api-keys-only-aq-tokens-generated/169279/4 "2026-11-05T18:41:48Z")

</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.
