Search code examples
rustanchorsolanasolana-web3js

Transaction simulation failed: Error processing Instruction 0: custom program error: 0xc at Connection.sendEncodedTransaction


I'm working on solana anchor program with solana web3. When I call the function in my custom program, I'm getting

Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0xc at Connection.sendEncodedTransaction

What does this error mean and where can I get the the error details list?

I was trying to call the function from my custom program


Solution

  • I just got the answer. 0xc means the metadata uri is not valid when mint the NFT.