# unresolved_source_message

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/plugins/marketplace/unresolved_source_message)

Explain why `materialize_plugin_source` produced no plugin root.

A rejected path and an unsupported source type both yield `None`, and
saying "unsupported source" for the first sends readers looking for a
missing feature instead of at their `path`.

## Signature

```python
unresolved_source_message(
    plugin_id: str,
    plugin: MarketplacePluginEntry,
    rejections: Sequence[str],
) -> str
```

## Returns

`str`

A message naming the rejected paths, or the unsupported source.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/2069079e09546060f5b52b2cd4f0e3c813e820f3/libs/code/deepagents_code/plugins/marketplace.py#L645)