Error reference
Anchor custom errors start at 6000, in the order the program declares them.
| Code | Name | Message | What to do |
|---|---|---|---|
| 6000 | NotUpgradeAuthority | Signer is not the program's upgrade authority | Only the launch setup calls init_config. |
| 6001 | MintNotAccepted | Bonds are locked in USDC or wrapped SOL only | Pick USDC or SOL. |
| 6002 | BondTooSmall | Bond is below the minimum for its mint | At least 1 USDC or 0.01 SOL. |
| 6003 | WindowOutOfRange | Reply window is outside the allowed range | Between 1 and 30 days. |
| 6004 | EncryptionKeyEmpty | Encryption key must not be empty | Sign the key message again to derive your key. |
| 6005 | InboxClosed | This inbox is not accepting knocks | The owner paused it. Try later. |
| 6006 | OwnInbox | You cannot knock on your own inbox | Use a different wallet to test. |
| 6007 | TermsChanged | The inbox changed its bond or window; review the new terms | Reload the inbox and confirm the new terms. |
| 6008 | MessageEmpty | Message is empty | Write something. |
| 6009 | MessageTooLong | Message is too long | Keep the ciphertext at 560 bytes or less, 531 characters of text in the app. |
| 6010 | NotRecipient | Only the recipient can do this | Only the inbox owner can reply or mark spam. |
| 6011 | WindowPassed | The reply window has passed | Too late to mark spam; anyone can now call expire. |
| 6012 | WindowOpen | The reply window is still open | expire works only at or after the deadline. |
| 6013 | NameInvalid | Name must be 3 to 20 characters of a-z, 0-9 or underscore | Change the name. |
| 6014 | NameAlreadySet | This inbox already has a name | Release the current name first. |
| 6015 | NamePriceZero | Name price must be above zero | Launch setup only. |
| 6016 | BurnPoolNotSet | Burn pool for this mint has not been configured | Fees wait in the fee vault until launch. |
| 6017 | BurnPoolInvalid | Burn pool accounts do not match the configured pool | Pass the configured Raydium CP-Swap pool accounts. |
| 6018 | BurnTwapUnavailable | Pool has no time-weighted price over the required window | Wait until the pool has 30 minutes of observations. |
| 6019 | BurnAmountInvalid | Burn amount is zero, above the fee balance or above the per-call pool limit | Lower amount to at most 0.1% of the pool's input reserve. |
| 6020 | MathOverflow | Arithmetic overflow | Should not happen with real balances; report it. |
Account already exists errors from the system program mean an inbox, knock or name record is already there: one inbox per wallet, one open knock per sender and inbox, one owner per name.