metaplex-foundation / metaplex

A directory of what the Metaplex Foundation works on!
https://metaplex.com
Apache License 2.0
3.31k stars 6.27k forks source link

[Bug]: Getting custom error (0x7dc) on minting #1929

Closed runlecturesit closed 2 years ago

runlecturesit commented 2 years ago

Which package is this bug report for?

candy machine cli

Issue description

Hi I am getting error while minting nft on testnet. The nfts and metadata has been uploaded and an error occurs when I try to mint a token by running the following command: npx ts-node js/packages/cli/src/candy-machine-v2-cli.ts mint_one_token --env testnet --keypair ~/.config/solana/devnet.json error

Have been stuck on this issue for a few days, would appreciate if anyone can help me on this!

Command

npx ts-node js/packages/cli/src/candy-machine-v2-cli.ts mint_one_token --env testnet --keypair ~/.config/solana/devnet.json

Relevant log output

No response

Operating system

Windows 10

Priority this issue should have

High (immediate attention needed)

Check the Docs First

stegaBOB commented 2 years ago

The candy machine program isn't deployed on testnet. Try on devnet (once that gets fixed) or on mainnet beta in the meantime.