codeSTACKr / create-10k-nft-collection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mint.js NOK error

belliez opened this issue · comments

using the latest fix-uploads-mints branch I get the following errors when running the script:
"NOK: Unexpected error, try again in a short while"

Same problem! I tried to mint 2999 NFT but only 1100 was minted.

There is one outstanding issue from NFTPort. They currently report this error when an NFT has already been minted. I cannot account for this issue currently.

I will leave this issue open until the issue is resolved on their end.

TEMP-FIX: For now, you can create a blank .json file in the "minted" folder as a placeholder for any already minted NFTs that are missing from that folder. This will resolve the issue.

I have the same issue, I tried to mint 5000 but only 100 was minted, after which "NOK: Unexpected error, try again in a short while" appeared. The "TEMP-FIX" didn't work for me.

When I restart the mint.js after an error I get a new error. After all the "already minted" files are done, it tries the next one, but gets this error: NOK: Contract already has the given token ID. It must be a unique ID inside the contract, please use another ID

where can I change the ID?

I fixed this by editing the ipfs meta file and changed the name of the "next" file to upload. I believe it minted it already but the script didn't think it completed. Mine errored on #220 - so I had to edit it's name to something else. I made it 0220 and the script finished minting