Skip to content

list_sources and get_source_info fail due to incorrect response schema validation #58

@AaruniAggarwal

Description

@AaruniAggarwal

The MCP tools list_sources and get_source_info consistently fail with response validation errors, even though the underlying Unstructured API calls succeed.

The failure occurs during response unmarshalling, not during request handling.

Both tools return errors similar to:
Error executing tool <tool_name>: Response validation failed
<multiple> validation errors for Unmarshaller
body.config.<ConnectorConfig>.<required_field>\n  Field require

The errors reference required fields from multiple connector config schemas (e.g. Box, MongoDB, S3, Azure, etc.), even when the source being returned uses only a single connector type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions