ProjectOpenSea / opensea-creatures

Example non-fungible collectible, to demonstrate OpenSea integration
https://docs.opensea.io
MIT License
1.17k stars 793 forks source link

Initial sale does not work. ''Request was throttled" #64

Open dalisalvador opened 3 years ago

dalisalvador commented 3 years ago

Hello,

Trying to run a crowdsale with the initial_sale.js script but I'm getting this error:

(node:1866887) UnhandledPromiseRejectionWarning: Error: API Error 429: Message: {"detail":"Request was throttled. Expected available in 1 second."}

I guess I need the API KEY to run this? Even for test env? Thanks..

TheMaxKim commented 3 years ago

Hey @dalisalvador , that script uses our API which we do have some throttling measures enabled for. You could either try reducing the numberOfOrders created, or request an API key here: https://docs.opensea.io/reference#request-an-api-key

dalisalvador commented 3 years ago

@TheMaxKim Hey, yeah I have set numberOfOrders to 1, but since the assets array has more than one value, then I get that error. I've also requested the API 2 days ago, but no response...

aleandro-coppola commented 3 years ago

I have the same error

myleaningstuff commented 3 years ago

I had the API key, but the request was still throttled.

Does the mainnet API work on rinkeby? It would be great if this was included in the docs.

snuderl commented 3 years ago

Testnet requires a different api key, so make sure to note that when applying for it.