# TooManyFieldsInCommitmentInfo (/docs/errors/chain/TooManyFieldsInCommitmentInfo)

The `CommitmentInfo` passed to `set_commitment` contains more entries in `fields` than the pallet's `MaxFields` config allows. Count the fields in the `info` argument and trim to the `MaxFields` limit.

Declared by the `Commitments` 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 TooManyFieldsInCommitmentInfo`.
