Errors/Chain errors
NothingAuthorized
The referenced object is not on-chain; check the identifier
No code upgrade has been authorized, so apply_authorized_upgrade has nothing to apply. Check the AuthorizedUpgrade storage item in System; an authorization must be recorded before applying the new code.
Declared by the System 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 NothingAuthorized.