# GammaDepositNotEmpty (/docs/errors/chain/GammaDepositNotEmpty)

Only an empty gamma deposit can be closed. Moving its whole balance with `move_gamma` closes it; once its spender has spent it to zero, close it.

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

## Remediation [#remediation]

Move the balance out with `btcli gamma move --amount-gamma all`, which closes the deposit, or close it once its spender has spent it

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