metaplex icon indicating copy to clipboard operation
metaplex copied to clipboard

Encountering "Not enough tokens on the account" Error During Minting in Metaplex

Open Beor18 opened this issue 1 year ago • 3 comments

Steps to Reproduce:

  • Set up my Candy Machine on Metaplex.
  • Attempted to perform a mint.
  • Encountered the error "Not enough tokens on the account".

Environment:

  • Metaplex Javascript API version used: 4.12.0
  • Metaplex JavaScript SDK version used: 0.20.1
  • Blockchain network (Mainnet, Devnet, etc.): devnet

Attempted Solutions:

  • Checked my account balance to confirm sufficient funds.
  • Reviewed Candy Machine configuration for potential errors.

Question to the Community:

Has anyone else experienced this issue? I am interested in knowing if it's a common error and if there are any known solutions or recommended diagnostic steps.

Any help or guidance on how to resolve this issue would be greatly appreciated. I am also willing to provide more information if needed for diagnosing this issue.

Thanks you!

Beor18 avatar Jan 19 '24 21:01 Beor18

Hey, did you find the solution to this? i'm encoutering this error as well

xatxay avatar Jan 23 '24 21:01 xatxay

Hey, did you find the solution to this? i'm encoutering this error as well

Yes, you have to migrate the JS SDK library to the UMI Framework, which is highly recommended and in the mint you are not missing any configuration such as parameters

Beor18 avatar Jan 24 '24 12:01 Beor18

Same. I have almost 1.5 sol yet fail to mint.


Source: Program > mplCandyGuard [Guard1JwRhJkVH6XZhzoYxeBVQe872VH6QggF4BWmS9g]

Caused By: Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 2: custom program error: 0x1784```

SkyYap avatar Mar 19 '24 10:03 SkyYap