# CodeNotFound (/docs/errors/chain/CodeNotFound)

No uploaded WASM binary exists under the supplied code hash. Verify the `code_hash` argument used in instantiation, `set_code`, or a delegate call, and that the code was uploaded via `upload_code` and not removed.

Declared by the `Contracts` pallet; it classifies to the semantic code [`not_found`](/docs/errors/not-found).

## Remediation [#remediation]

The referenced object is not on-chain; check the identifier

The same explanation is available in the terminal: `btcli explain CodeNotFound`.
