Skip to content

Actor tool input schema enum cannot be empty string #353

@MQ37

Description

@MQ37

For this URL https://mcp.apify.com?tools=compass/google-maps-extractor the Google ADK returns this error and MCP inspector crashes.

Error:

google.genai.errors.ClientError: 400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': '* GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[placeMinimumStars].enum[0]: cannot be empty\n* GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[countryCode].enum[0]: cannot be empty\n', 'status': 'INVALID_ARGUMENT'}}

MCP inspector console error:

Error: A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.

Metadata

Metadata

Assignees

Labels

high priorityDo this ASAP! This is for mission-critical work or work that blocks other teams in their work.t-aiIssues owned by the AI team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions