Anchor
TryingToInitPayerAsProgramAccount
“You cannot/should not initialize the payer account as a program account”
You used the payer account as the account being initialised.
Common causes
#[account(init, payer = user)] pub user: ...or passing the same key for both.
How to fix it
- Use a separate account for
initand forpayer.