Every API key my account generates has the AQ. prefix, instead of the normal AIza… format.
Endpoint: POST /v1beta/models/gemini-2.0-flash:generateContent
Tried: both ?key= query param and x-goog-api-key header
Response: 401 UNAUTHENTICATED — ACCESS_TOKEN_TYPE_UNSUPPORTED
Project: gen-lang-client-05019098.. (project name: mail)
Requesting account review to restore normal AIza-format key issuance.
Hello @noriko999 ,
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 documentation.
Please submit any compatibility issues with services / SDKs etc. in this form for our engineering team to review. Thanks!