Errors/Chain errors
UidMapCouldNotBeCleared
A chain-side invariant failed; nothing to fix client-side — report it if it persists
During a UID reshuffle or trim, clearing the subnet's Uids map left residual entries (the storage clear returned a cursor). Internal state inconsistency rather than a caller error; inspect the Uids storage for the netuid and report it.
Declared by the SubtensorModule pallet; it classifies to the semantic code internal.
Remediation
A chain-side invariant failed; nothing to fix client-side — report it if it persists
The same explanation is available in the terminal: btcli explain UidMapCouldNotBeCleared.