Skip to content

Request contains an invalid argument in LiveAPI #781

Open
@mhyeonsoo

Description

@mhyeonsoo

Description of the bug:

Hi,

I am trying to run https://github.com/google-gemini/cookbook/blob/cb04a04359ac7937c4b22e8b4c381451ba1e5d93/quickstarts/Get_started_LiveAPI.py at my workstation, but it returns the error saying:

websockets.exceptions.ConnectionClosedError: received 1007 (invalid frame payload data) Request contains an invalid argument.; then sent 1007 (invalid frame payload data) Request contains an invalid argument.

I've changed nothing from the original source code, and set api key for env variable too.
Could you share me how to solve this problem and what is the possible reason?

Thanks,

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions