codeSTACKr / create-10k-nft-collection

MIT License
2.21k stars 717 forks source link

Catch error 429 & 422 on minting process [Bug]: #195

Open BobDawgwood opened 2 years ago

BobDawgwood commented 2 years ago

Version

General Question

What happened?

When I run command to mint, it asks me if I want to mint. I say (y). It goes into the minting process, but all i get are "Catch errors" 422 and 429..Mostly 429

What have you tried?

I Googled and asked the community in the discord server but could not find a solution.

I checked NFT port and it says (in my logs) the errors are due to incorrect contract address. The address i have in config file is the same as the address on NFT port.

The 422 error according to NFT port is due to too many requests (using free version, and this is my first time trying to do this), so I went to config file and changed it (API rate) from 2 to 1, and from 1 to 3, and still get the errors.

Relevant log output

etrying
CATCH ERROR: ERROR STATUS: 429
Retrying
CATCH ERROR: ERROR STATUS: 429
Retrying
CATCH ERROR: ERROR STATUS: 429
Retrying
CATCH ERROR: ERROR STATUS: 422
Retrying

Protect your information

GMSchulz commented 2 years ago

Any news on this one yet? I was also getting these same errors.

Tdawg007 commented 2 years ago

i get the same thing

informed-citizen commented 2 years ago

(the following worked for me in v2.0.1)

config.js

Make sure your rate is not set above 1

  1. const LIMIT = 1; // Your API key rate limit

Find your contract address on blockchain once deployed and manually PASTE in where specified (line 52 for my build)

  1. // OPTIONAL
  2. let CONTRACT_ADDRESS = "YOUR CONTRACT ADDRESS"; // If you want to manually include it