Token-2022TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
CpiGuardSetAuthorityBlocked
“CPI Guard is enabled, and a program attempted to add or replace an authority via CPI”
Authorities cannot be changed via CPI on a CPI-Guarded account.
Common causes
- A program calling
SetAuthorityon the user's account through CPI.
How to fix it
- The user must change authorities in a top-level instruction.