Token-2022TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
CpiGuardCloseAccountBlocked
“CPI Guard is enabled, and a program attempted to close an account via CPI without returning lamports to owner”
A program tried to close a CPI-Guarded token account and send the rent somewhere other than the owner.
Common causes
- Close-account CPI with a destination that is not the account owner.
How to fix it
- Set the lamport destination to the token account owner, or have the user close it directly.