docs← Back to article

Markdown for LLMs

LDC-Q3007 — The questioned package is not in the snapshot

The source Markdown for this article. Copy it into your assistant or download it as a text file.

Download this articlePlain text ↗
# LDC-Q3007 — The questioned package is not in the snapshot

## What it means

A question answered over a package runs against that package as stored in
the snapshot. Before anything else, the engine looks the package up by
name. When no stored package matches, there is nothing to reason over, and
the engine reports the missing name instead of answering from the wrong
package.

Check the package name for a typo, including the exact dots and dashes.
When the name is right, the snapshot is the problem: it was built without
that package, so rebuild it with the package included.

## Example

```lawql
query q over "nosuchpkg" { for x: Applicant; where resident(x); select resident(x); }
```

## Fix

```lawql
from r in rules select r
```

## Engine message

The engine reports this in its own wording:

```text
LDC-Q3007: target package 'nosuchpkg' not found.
```

## Related

- [Questions to the engine](/constructs/queries/) — what a question over a package needs.
- [LDC-Q4001](/diagnostics/LDC-Q4001/) — the shape the question body must have.