Tx Doctor / Solana error library / Authority type not supported
Solana error: Authority type not supported (0xf)
A set-authority instruction asked for an authority type this account does not carry — the account has no such role to grant or revoke.
Why it happens
- Token accounts carry freeze authority only via their mint, and mints carry mint/freeze authority. Requesting an authority type that does not exist on that account fails.
- Often a mismatch: setting freeze authority on an account instead of the mint, or on a mint that never had one.
How to fix it
- Target the mint account for mint/freeze authority changes, not a token account.
- Check the current authority layout on an explorer before retrying — you cannot set an authority type the program does not define for that account.
What it looks like in the logs
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0xf RPC simulation: Transaction simulation failed: Error processing Instruction: custom program error: 0xf Wallet UI: "Transaction failed" — custom program error 0xf (15)
One failure, three places it shows up: the raw transaction log, the RPC simulation error, and the wallet's short message. Match on the code, never on the wording.
What this means for your funds
Solana transactions are atomic: if any instruction fails, every state change in that transaction is reverted, so token balances end exactly where they started. The network fee is still charged, because validators did the work of executing and rejecting it. A failed transaction never moves your tokens to someone else.
Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.
Diagnose my transaction