Errors/Chain errors
NewHotKeyNotCleanForRootSwap
Check the argument values against the operation schema
The destination hotkey has pending root claimable dividends, non-zero root stake, or root-claimed history, so root accounting cannot merge safely. Check RootClaimable and root-subnet stake for the new hotkey; claim or clear them, or use a fresh hotkey.
Declared by the SubtensorModule pallet; it classifies to the semantic code invalid_argument.
Remediation
Check the argument values against the operation schema
The same explanation is available in the terminal: btcli explain NewHotKeyNotCleanForRootSwap.