# MaxValidatorsLargerThanMaxUIds (/docs/errors/chain/MaxValidatorsLargerThanMaxUIds)

`sudo_set_max_allowed_validators` was given a value exceeding the subnet's UID capacity. Compare the `max_allowed_validators` argument against `MaxAllowedUids` for that netuid.

Declared by the `AdminUtils` 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 MaxValidatorsLargerThanMaxUIds`.
