D00R

Error reference

Anchor custom errors start at 6000, in the order the program declares them.

CodeNameMessageWhat to do
6000NotUpgradeAuthoritySigner is not the program's upgrade authorityOnly the launch setup calls init_config.
6001MintNotAcceptedBonds are locked in USDC or wrapped SOL onlyPick USDC or SOL.
6002BondTooSmallBond is below the minimum for its mintAt least 1 USDC or 0.01 SOL.
6003WindowOutOfRangeReply window is outside the allowed rangeBetween 1 and 30 days.
6004EncryptionKeyEmptyEncryption key must not be emptySign the key message again to derive your key.
6005InboxClosedThis inbox is not accepting knocksThe owner paused it. Try later.
6006OwnInboxYou cannot knock on your own inboxUse a different wallet to test.
6007TermsChangedThe inbox changed its bond or window; review the new termsReload the inbox and confirm the new terms.
6008MessageEmptyMessage is emptyWrite something.
6009MessageTooLongMessage is too longKeep the ciphertext at 560 bytes or less, 531 characters of text in the app.
6010NotRecipientOnly the recipient can do thisOnly the inbox owner can reply or mark spam.
6011WindowPassedThe reply window has passedToo late to mark spam; anyone can now call expire.
6012WindowOpenThe reply window is still openexpire works only at or after the deadline.
6013NameInvalidName must be 3 to 20 characters of a-z, 0-9 or underscoreChange the name.
6014NameAlreadySetThis inbox already has a nameRelease the current name first.
6015NamePriceZeroName price must be above zeroLaunch setup only.
6016BurnPoolNotSetBurn pool for this mint has not been configuredFees wait in the fee vault until launch.
6017BurnPoolInvalidBurn pool accounts do not match the configured poolPass the configured Raydium CP-Swap pool accounts.
6018BurnTwapUnavailablePool has no time-weighted price over the required windowWait until the pool has 30 minutes of observations.
6019BurnAmountInvalidBurn amount is zero, above the fee balance or above the per-call pool limitLower amount to at most 0.1% of the pool's input reserve.
6020MathOverflowArithmetic overflowShould 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.