metaplex-foundation / metaplex

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

Program Error: "Instruction #5 Failed" #2256

Open PomegranateApps opened 2 years ago

PomegranateApps commented 2 years ago

I am getting this error when I attempt to mint an NFT on my candy machine.

Program Error: "Instruction #5 Failed"

https://explorer.solana.com/tx/422juo3RTsXwQysyVEZZpVNhoVi84uifPxTjUQwDJtvbMdbQ6ocyH9gx6KaJT9M4f4ZEGut5hGciYS6cKSudgRCQ?cluster=devnet

Where can I find documentation on this error message?

polarysfoundation commented 2 years ago

Hello buddy, could you tell me what you are using to mint?, I mean, do you use a third party mint page?, what is your source code, since I have the same problem and if we have the same dependencies, we could find what causes the mistake.

PomegranateApps commented 2 years ago

It turned out the wallet was too low on funds. There was enough to mint (there was around ~0.8 SOL remaining), but there seems to be a minimum required SOL to have in the wallet to mint. I'm not sure if it's possible, but it would be great to have more descriptive errors regarding this issue.

polarysfoundation commented 2 years ago

Yes, I suspected it yesterday by reviewing the transactions coming from the wallet that you placed in the report, I suppose that the error is caused by not having enough funds. and since there are not many details regarding the error, sometimes it is a headache. Thanks a lot.

aUsABuisnessman commented 2 years ago

Hello buddy, could you tell me what you are using to mint?, I mean, do you use a third party mint page?, what is your source code, since I have the same problem and if we have the same dependencies, we could find what causes the mistake.

is Polarys a progressive