Skip to content

Conversation

@jonathanelmgren
Copy link
Contributor

@jonathanelmgren jonathanelmgren commented Dec 22, 2025

Fixes #15013

Problem

The MCP plugin crashes when defaultDepth: 0 is set in Payload config, throwing:

TypeError: Cannot create property 'collection' on string '69495e5d1c30e1099b58e9df'

See the linked issue for full reproduction steps and error details.

@jonathanelmgren jonathanelmgren changed the title fix(plugin-mcp): Handle defaultDepth: 0 in API key authentication fix(plugin-mcp): handle defaultDepth: 0 in API key authentication Dec 22, 2025
@jonathanelmgren jonathanelmgren changed the title fix(plugin-mcp): handle defaultDepth: 0 in API key authentication fix(plugin-mcp): handle defaultDepth: 0 in api key authentication Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP Plugin Crashes with defaultDepth: 0

1 participant