# X_CASSETTE_MISSING

## Means

a cassette replayed with no recording on disk

## Typical cause

cassette() ran in replay mode and <dir>/__cassettes__/<name>.json does not exist: the test was never recorded, or the file was renamed

## Fix

`ULTIMATE_CASSETTE=record bun test <file>` — with cassette(import.meta.dir, <name>, { record: { hosts: [<host>] } })

[Testing](/error-codes#testing)
