js
js copied to clipboard
Error Printing Edition
Seeing this fun error when printing an edition:
Token Metadata Program Instruction
Program logged: "IX: Mint New Edition from Master Edition Via Token" Program logged: "Already initialized" Program consumed: 23601 of 1169142 compute units Program returned error: "custom program error: 0x3"
My Code
await metaplex
.nfts()
.builders()
.printNewEdition({
originalSupply: (nftToMint.edition as NftOriginalEdition).supply,
newOwner: payerPublicKey,
originalMint: new PublicKey(masterMintAddress),
})
Whats odd is that this has been printing editions for quite some time without issue, and other similar editions are printing fine.
Some questions:
- I'm wondering if an account somehow initialized partially and now when trying to print the next edition it can't because it already exists?
- Is there way to clean up the prior metadata account?
- Maybe the edition number is incorrect in this case?