NonNativeHasBalance
SPL Token · Custom(11) · 0xb
custom program error: 0xb
What it means
Attempted to close a token account that still holds tokens.
What to do
Transfer or burn the remaining balance before closing.
Have the transaction that failed with this?
Paste its signature. TxWhy shows the exact instruction and inner call that raised the error, and rebuilds the transaction when the cause is one it can fix (compute limit, expired blockhash, priority fee, stale swap quote).
Code 11 means something else in other programs
Custom codes are private to each program. Check which program actually raised it: it is the innermost failed call, not necessarily the program you called.