Skip to content

API_KEY login not supported for genai.client #1122

@jaymundra

Description

@jaymundra

Description of the bug:

In this colab,
https://github.com/google-gemini/cookbook/blob/d79ab4fbe70b0b2a0db2cb41938411fdbf032609/quickstarts/Get_started_LiveAPI.ipynb

getting error while running this code:

Image

ConnectionClosedError: received 1008 (policy violation) API keys are not supported by this API. Expected OAuth2 access token or other authentication credentials that assert a prin; then sent 1008 (policy violation) API keys are not supported by this API. Expected OAuth2 access token or other authentication credentials that assert a prin

Actual vs expected behavior:

It seems that API login is no longer supported by the client.

Any other information you'd like to share?

python version: Python 3.12.12
install commands: pip install -U google-genai pyaudio

No response

Metadata

Metadata

Assignees

Labels

status:triagedIssue/PR triaged to the corresponding sub-teamtype:bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions