Errors/Chain errors
LeaseDoesNotExist
The referenced object is not on-chain; check the identifier
The lease_id argument does not correspond to any stored lease. Query the SubnetLeases storage map to confirm the lease id and whether it was already terminated.
Declared by the SubtensorModule 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 LeaseDoesNotExist.