# DelegateDependencyNotFound (/docs/errors/chain/DelegateDependencyNotFound)

`unlock_delegate_dependency` was called for a code hash that is not among the contract's locked delegate dependencies. Check the code hash argument against the dependencies recorded in the contract's info.

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 DelegateDependencyNotFound`.
