openai/codex · error · anyhow::Error
plugin `{plugin_name}` in marketplace `{marketplace_name}` m
Error message
plugin `{plugin_name}` in marketplace `{marketplace_name}` matched multiple marketplace roots What it means
Error "plugin `{plugin_name}` in marketplace `{marketplace_name}` matched multiple marketplace roots" thrown in openai/codex.
Source
Thrown at codex-rs/cli/src/plugin_cmd.rs:680
&outcome.errors,
Some(marketplace_name),
)?;
let matches = outcome
.marketplaces
.into_iter()
.filter(|marketplace| marketplace.name == marketplace_name)
.filter(|marketplace| {
marketplace
.plugins
.iter()
.any(|plugin| plugin.name == plugin_name)
})
.collect::<Vec<_>>();
match matches.as_slice() {
[] => bail!("plugin `{plugin_name}` was not found in marketplace `{marketplace_name}`"),
[marketplace] => Ok(marketplace.clone()),
_ => bail!(
"plugin `{plugin_name}` in marketplace `{marketplace_name}` matched multiple marketplace roots"
),
}
}
pub(crate) struct ConfiguredMarketplaceSnapshotIssue {
pub(crate) marketplace_name: String,
pub(crate) path: PathBuf,
pub(crate) message: String,
}
fn ensure_configured_marketplace_snapshots_loaded(
codex_home: &std::path::Path,
plugins_input: &PluginsConfigInput,
load_errors: &[MarketplaceListError],
marketplace_name: Option<&str>,
) -> Result<()> {
let issues = configured_marketplace_snapshot_issues(View on GitHub (pinned to 339751715c)
When it happens
Trigger: Thrown at codex-rs/cli/src/plugin_cmd.rs:680 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openai/codex@339751715c (2026-08-25).
Data as JSON: /api/errors/d583ee59e8f56997.
Report an issue: GitHub.