wasmerio/wasmer · error

App {app_name} has no volume matching '{selector}'. Availabl

Error message

App {app_name} has no volume matching '{selector}'. Available volumes: {available}

What it means

Error "App {app_name} has no volume matching '{selector}'. Available volumes: {available}" thrown in wasmerio/wasmer.

Source

Thrown at lib/cli/src/commands/app/volumes/mod.rs:152

        return Ok(volume);
    }

    let matched: Vec<&Volume> = volumes
        .iter()
        .filter(|v| v.name.as_deref() == Some(selector) || v.mount_path == selector)
        .collect();

    match matched.as_slice() {
        [] => {
            let available = volumes
                .iter()
                .map(Volume::label)
                .collect::<Vec<_>>()
                .join(", ");
            if available.is_empty() {
                anyhow::bail!("App {app_name} has no volumes.");
            }
            anyhow::bail!(
                "App {app_name} has no volume matching '{selector}'. Available volumes: {available}"
            );
        }
        [volume] => Ok(volume),
        multiple => {
            let colliding = multiple
                .iter()
                .map(|v| format!("{} [id {}]", v.label(), v.volume_id))
                .collect::<Vec<_>>()
                .join(", ");
            anyhow::bail!(
                "'{selector}' matches multiple volumes of app {app_name}: {colliding}. \
                 Pass the volume id to select one."
            )
        }
    }
}

View on GitHub (pinned to 8c4b9ee9d3)

When it happens

Trigger: Thrown at lib/cli/src/commands/app/volumes/mod.rs:152 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of wasmerio/wasmer@8c4b9ee9d3 (2026-09-01). Data as JSON: /api/errors/54b39015b0e24677. Report an issue: GitHub.