# EmissionWeightIndexOutOfRange (/docs/errors/chain/EmissionWeightIndexOutOfRange)

`sudo_set_subnet_emission_weights` named a slot index outside the five-slot emission weight vector. Valid indices are 0 = burn, 1 = recycle, 2 = owner, 3 = validator, 4 = miner; later slots (e.g. gamma buys) are reserved for a future runtime.

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

Declared at [`pallets/subtensor/src/macros/errors.rs#L424`](/code/pallets/subtensor/src/macros/errors.rs#L424).

## Remediation [#remediation]

Check the argument values against the operation schema

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