Errors/Chain errors
IncorrectWeightVersionKey
Check the argument values against the operation schema
The version_key supplied with set_weights is older than the subnet's required weights version. Compare it against the WeightsVersionKey hyperparameter (btcli sudo get --netuid <n>) and update the validator software or the key.
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 IncorrectWeightVersionKey.