I am getting a persistent 401 ACCESS_TOKEN_TYPE_UNSUPPORTED
when calling the Gemini Developer API with a newly generated AQ
authorization key.
Project: Growith
Model: gemini-3.6-flash
API: Generative Language API
The following has been verified:
- Generative Language API is enabled.
- The API key is active.
- The old API key was deleted.
- A brand-new AQ key was generated.
- The new AQ key was copied directly into my local .env.
- The server was fully restarted.
- The request uses the documented Gemini API endpoint.
- The API key is passed using the ?key= query parameter.
- The same 401 occurs with the newly generated key.
- Error: ACCESS_TOKEN_TYPE_UNSUPPORTED
- HTTP 401 UNAUTHENTICATED
The same error persists after key rotation.
Could you confirm whether there is currently an issue with
AQ authorization key provisioning/authentication for the
Generative Language API?