Docs · Errors
Reference

Errors

Anchor custom errors start at 6000. A failed transaction shows the code as custom program error: 0x... (hexadecimal); the table lists both.

Code Hex Name Message
6000 0x1770 MathOverflow Arithmetic overflow
6001 0x1771 ZeroAmount Amount must be greater than zero
6002 0x1772 CurveComplete The curve has sold its whole allocation; this launch is graduating
6003 0x1773 InsufficientCurveTokens Cannot sell more tokens than the curve has sold
6004 0x1774 SlippageExceeded Slippage limit exceeded
6005 0x1775 WrongPhase This action is not allowed in the launch's current phase
6006 0x1776 LaunchesPaused New launches are paused
6007 0x1777 QuoteAssetDisabled Quote asset is not enabled
6008 0x1778 NameLength Name must be 1 to 64 bytes
6009 0x1779 SymbolLength Symbol must be 1 to 16 bytes
6010 0x177a DescriptionLength Description is too long
6011 0x177b UriLength URI is too long
6012 0x177c SocialLength Social link is too long
6013 0x177d CreatorTaxTooHigh Creator tax is above the maximum
6014 0x177e FeeTooHigh Fee setting is above the hard cap
6015 0x177f BadWotsSignature WOTS signature does not match the vault's commitment
6016 0x1780 BadWotsSignatureLength WOTS signature must be 640 bytes
6017 0x1781 CommitmentReuse The next commitment must differ from the current one
6018 0x1782 VaultRentExemption Withdrawal would leave the vault below rent exemption
6019 0x1783 WrongAccount Account does not match the expected address
6020 0x1784 NothingToClaim Nothing to claim
6021 0x1785 RescueTooEarly A launch can be rescued only after waiting 30 days for its pool

Common causes

Error Usually means
SlippageExceeded The price moved past your limit before the transaction landed. Retry or raise the limit
CurveComplete The curve just sold out. The launch is graduating; wait for the pool
WrongPhase The action does not apply to the launch's current phase (see Lifecycle)
BadWotsSignature The seed does not control the vault's current key, or the message fields differ from what was signed
RescueTooEarly rescue was called less than 30 days after graduation