Errors/Chain errors
CanNotSetRootNetworkWeights
Check the argument values against the operation schema
set_weights was called with netuid 0, the root network, where weight setting is not allowed: root validators do not set weights at all. Use a non-root netuid argument.
Declared by the SubtensorModule pallet; it classifies to the semantic code invalid_argument.
Declared at pallets/subtensor/src/macros/errors.rs#L118.
Remediation
Check the argument values against the operation schema
The same explanation is available in the terminal: btcli explain CanNotSetRootNetworkWeights.