create-10k-nft-collection icon indicating copy to clipboard operation
create-10k-nft-collection copied to clipboard

mint.js NOK error

Open belliez opened this issue 3 years ago • 6 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"

belliez avatar Dec 31 '21 14:12 belliez

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

comancosmin avatar Dec 31 '21 14:12 comancosmin

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.

codeSTACKr avatar Dec 31 '21 15:12 codeSTACKr

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.

Reewar avatar Jan 05 '22 10:01 Reewar

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?

niveknonrev avatar Jan 06 '22 18:01 niveknonrev

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

niveknonrev avatar Jan 10 '22 17:01 niveknonrev

I had to update the ipfs metas file and change the name of the offending file to something else so it would mint it again.

On Mon, Jan 10, 2022 at 10:54 AM ryuncoding @.***> wrote:

@niveknonrev https://github.com/niveknonrev I am having same problem. Any solution please ?

— Reply to this email directly, view it on GitHub https://github.com/codeSTACKr/video-source-code-create-nft-collection/issues/12#issuecomment-1009122900, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN75E7L6PPPJUWMOVWQCAIDUVMFKRANCNFSM5LBK6SPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: <codeSTACKr/video-source-code-create-nft-collection/issues/12/1009122900@ github.com>

niveknonrev avatar Jan 10 '22 18:01 niveknonrev