# CanNotSetRootNetworkWeights (/docs/errors/chain/CanNotSetRootNetworkWeights)

`set_weights` was called with netuid 0, the root network, where normal weight setting is not allowed. Use a non-root `netuid` argument; root weights are handled by a separate mechanism.

Declared by the `SubtensorModule` pallet; it classifies to the semantic code [`invalid_argument`](/docs/errors/invalid-argument).

## Remediation [#remediation]

Check the argument values against the operation schema

The same explanation is available in the terminal: `btcli explain CanNotSetRootNetworkWeights`.
