# BasketSwapBatchEmpty (/docs/errors/chain/BasketSwapBatchEmpty)

`swap_basket_many` was submitted without any trade legs. Include at least one origin/destination/amount leg; one call accepts at most 128 legs.

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#L412`](/code/pallets/subtensor/src/macros/errors.rs#L412).

## Remediation [#remediation]

Check the argument values against the operation schema

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