New AQ. prefix API Keys fail on OpenAI-compatible endpoints with "Multiple authentication credentials received"

I noticed that AI Studio is now generating the API keys with AQ. prefix. These keys don’t work well when I use the OpenAI compatible API and I received the response:

{
  "error": {
    "code": 400,
    "message": "Multiple authentication credentials received. Please pass only one.",
    "status": "INVALID_ARGUMENT"
  }
}

The request command:

curl "https://generativelanguage.googleapis.com/v1beta/openai/models" \
  -H 'Authorization: Bearer <The AQ. key>'
5 Likes

mee too . i have a lot of time but i can’t fix it