> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-WORKSPACE-0101: Legacy workspace import target could not be resolved; source imports use SIFR-IMPORT-0002.

> Legacy workspace import target could not be resolved; source imports use SIFR-IMPORT-0002.

`SIFR-WORKSPACE-0101` belongs to the **Workspace metadata** diagnostic family. It means: legacy workspace import target could not be resolved; source imports use [`SIFR-IMPORT-0002`](/errors/SIFR-IMPORT-0002).

## Why It Happens

Workspace metadata does not describe a valid Sifr source layout. Keep source roots inside the workspace and use valid member/source-root shapes.

<Info>
  Use `sifr --explain SIFR-WORKSPACE-0101` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Erroneous Code

```toml theme={null}
[workspace]
members = [123]
```

## How To Fix It

Fix workspace metadata so source roots stay inside the workspace and each entry has the expected string/path shape.

## Fixed Code

```toml theme={null}
[workspace]
members = ["crates/app"]
```

## Details

| Field                  | Value                                                                               |
| ---------------------- | ----------------------------------------------------------------------------------- |
| Code                   | `SIFR-WORKSPACE-0101`                                                               |
| Family                 | `WORKSPACE`                                                                         |
| Severity               | Error                                                                               |
| Stability              | stable                                                                              |
| Owner                  | `sifr_driver::project::discovery`                                                   |
| Representative fixture | `verification/areas/project_workspace/fixtures/project/workspace_unresolved_import` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
