My account/project is restricted to AQ. prefix keys. They all return 401 ACCESS_TOKEN_TYPE_UNSUPPORTED on generativelanguage.googleapis.com. Requesting restoration of AIza-format API keys. Project ID: gen-lang-client-02513966..
{
“error”: {
“code”: 401,
“message”: “Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.”,
“status”: “UNAUTHENTICATED”,
“details”: [
{
“@type”: “type.googleapis.com/google.rpc.ErrorInfo”,
“reason”: “ACCESS_TOKEN_TYPE_UNSUPPORTED”,
“metadata”: {
“method”: “google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent”,
“service”: “generativelanguage.googleapis.com”
}
}
]
}
}