Error codes / Metaplex Candy Machine
Metaplex Candy Machine error codes
Every custom error code published by Metaplex Candy Machine, with what it means and what to do about it.
cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ
- 6000 · 0x1770IncorrectOwner
Account does not have correct owner!
- 6001 · 0x1771Uninitialized
Account is not initialized!
- 6002 · 0x1772MintMismatch
Mint Mismatch!
- 6003 · 0x1773IndexGreaterThanLength
Index greater than length!
- 6004 · 0x1774NumericalOverflowError
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 6005 · 0x1775TooManyCreators
Can only provide up to 4 creators to candy machine (because candy machine is one)!
- 6006 · 0x1776UuidMustBeExactly6Length
Uuid must be exactly of 6 length
- 6007 · 0x1777NotEnoughTokens
Not enough tokens to pay for this minting
- 6008 · 0x1778NotEnoughSOL
Not enough SOL to pay for this minting
- 6009 · 0x1779TokenTransferFailed
Token transfer failed
- 6010 · 0x177aCandyMachineEmpty
Candy machine is empty!
- 6011 · 0x177bCandyMachineNotLive
Candy machine is not live!
- 6012 · 0x177cHiddenSettingsConfigsDoNotHaveConfigLines
Configs that are using hidden uris do not have config lines, they have a single hash representing hashed order
- 6013 · 0x177dCannotChangeNumberOfLines
Cannot change number of lines unless is a hidden config
- 6014 · 0x177eDerivedKeyInvalid
Derived key invalid
- 6015 · 0x177fPublicKeyMismatch
Public key mismatch
- 6016 · 0x1780NoWhitelistToken
No whitelist token present
- 6017 · 0x1781TokenBurnFailed
Token burn failed
- 6018 · 0x1782GatewayAppMissing
Missing gateway app when required
- 6019 · 0x1783GatewayTokenMissing
Missing gateway token when required
- 6020 · 0x1784GatewayTokenExpireTimeInvalid
Invalid gateway token expire time
- 6021 · 0x1785NetworkExpireFeatureMissing
Missing gateway network expire feature when required
- 6022 · 0x1786CannotFindUsableConfigLine
Unable to find an unused config line near your random number index
- 6023 · 0x1787InvalidString
Invalid string
- 6024 · 0x1788SuspiciousTransaction
Suspicious transaction detected
- 6025 · 0x1789CannotSwitchToHiddenSettings
Cannot Switch to Hidden Settings after items available is greater than 0
- 6026 · 0x178aIncorrectSlotHashesPubkey
Incorrect SlotHashes PubKey
- 6027 · 0x178bIncorrectCollectionAuthority
Incorrect collection NFT authority
- 6028 · 0x178cMismatchedCollectionPDA
Collection PDA address is invalid
- 6029 · 0x178dMismatchedCollectionMint
Provided mint account doesn't match collection PDA mint
- 6030 · 0x178eSlotHashesEmpty
Slot hashes Sysvar is empty
- 6031 · 0x178fMetadataAccountMustBeEmpty
The metadata account has data in it, and this must be empty to mint a new NFT
- 6032 · 0x1790MissingSetCollectionDuringMint
Missing set collection during mint IX for Candy Machine with collection set
- 6033 · 0x1791NoChangingCollectionDuringMint
Can't change collection settings after items have begun to be minted
- 6034 · 0x1792CandyCollectionRequiresRetainAuthority
Retain authority must be true for Candy Machines with a collection set
- 6035 · 0x1793GatewayProgramError
Error within Gateway program
- 6036 · 0x1794NoChangingFreezeDuringMint
Can't change freeze settings after items have begun to be minted. You can only disable.
- 6037 · 0x1795NoChangingAuthorityWithCollection
Can't change authority while collection is enabled. Disable collection first.
- 6038 · 0x1796NoChangingTokenWithFreeze
Can't change token while freeze is enabled. Disable freeze first.
- 6039 · 0x1797InvalidThawNft
Cannot thaw NFT unless all NFTs are minted or Candy Machine authority enables thawing
- 6040 · 0x1798IncorrectRemainingAccountsLen
The number of remaining accounts passed in doesn't match the Candy Machine settings
- 6041 · 0x1799MissingFreezeAta
FreezePDA ATA needs to be passed in if token mint is enabled.
- 6042 · 0x179aIncorrectFreezeAta
Incorrect freeze ATA address.
- 6043 · 0x179bFreezePDAMismatch
FreezePDA doesn't belong to this Candy Machine.
- 6044 · 0x179cEnteredFreezeIsMoreThanMaxFreeze
Freeze time can't be longer than MAX_FREEZE_TIME.
- 6045 · 0x179dNoWithdrawWithFreeze
Can't withdraw Candy Machine while freeze is active. Disable freeze first.
- 6046 · 0x179eNoWithdrawWithFrozenFunds
Can't withdraw Candy Machine while frozen funds need to be redeemed. Unlock funds first.
- 6047 · 0x179fMissingRemoveFreezeTokenAccounts
Missing required remaining accounts for remove_freeze with token mint.
- 6048 · 0x17a0InvalidFreezeWithdrawTokenAddress
Can't withdraw SPL Token from freeze PDA into itself
- 6049 · 0x17a1NoUnlockWithNFTsStillFrozen
Can't unlock funds while NFTs are still frozen. Run thaw on all NFTs first.
- 6050 · 0x17a2SizedCollectionMetadataMustBeMutable
Setting a sized collection requires the collection metadata to be mutable.
- 6051 · 0x17a3CannotSwitchFromHiddenSettings
Cannot remove Hidden Settings.