# TrimmingWouldExceedMaxImmunePercentage (/docs/errors/chain/TrimmingWouldExceedMaxImmunePercentage)

Trimming the subnet's UIDs cannot proceed because immune neurons would make up at least the maximum immune share (80%) of the reduced slot count. Check neurons still in `ImmunityPeriod` and retry after their immunity lapses or with a higher max UID target.

Declared by the `SubtensorModule` pallet; it classifies to the semantic code [`limit_exceeded`](/docs/errors/limit-exceeded).

## Remediation [#remediation]

A chain-side capacity limit was hit; reduce the size or count of the request

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