Errors/Chain errors
CodeInfoNotFound
The referenced object is not on-chain; check the identifier
No CodeInfoOf entry exists for the supplied code hash, so its owner and deposit metadata cannot be read. Verify the code hash argument and that the code was uploaded and not since removed.
Declared by the Contracts pallet; it classifies to the semantic code not_found.
Remediation
The referenced object is not on-chain; check the identifier
The same explanation is available in the terminal: btcli explain CodeInfoNotFound.