NonDefaultComposite

Error v101 → current 0.3

Can't kill an account that has non-default composite data.

Encountered by: developers

Why This Error Exists

Accounts can't be deleted while other pallets still reference them. The reference counting system prevents premature deletion that would cause inconsistencies.

From Chain Metadata

Suicide called when the account has non-default composite data.

What This Means

Can't kill an account that has non-default composite data.

Common Causes

  • Account has outstanding references (providers, consumers, sufficients)
  • Account has data in other pallets that hasn't been cleaned up

How to Fix

  • Clean up all references to the account first
  • Remove all locks, reserves, and other holds
  • Clear any pallet-specific data associated with the account

Storage to Check

Runtime Info

Pallet Index
0
Error Index
3
Error Code
0.3
Runtime Version
v393