# X_CASSETTE_RECORD_REFUSED

## Means

a cassette recording was refused

## Typical cause

ULTIMATE_CASSETTE=record ran under CI, or the run requested a host outside record.hosts

## Fix

`cassette(import.meta.dir, <name>, { record: { hosts: [<host>] } })` — add the host, and record locally with CI unset

[Testing](/error-codes#testing)
