ERROR on createFactorySellOrders
When I launch initial_sale i have this error:
Error: API Error 429: Message: {"detail":"Request was throttled. Expected available in 1 second."}
at OpenSeaAPI.
Hey Coppola. You need an API key which you can request from OpenSea. https://docs.opensea.io/reference#request-an-api-key
@elliottrisby I haven't received the API KEY yet, it is possible to do something?
Hey! I don't actually work at Opensea but i suggest hitting up Hamish (or one of the opensea admins) via discord. That did the trick for me.
And you could limit your requests to a second each while you wait for them to respond! :)
Thank you so much @elliottrisby !
And you could limit your requests to a second each while you wait for them to respond! :)
I have the same issue. How can i limit the requests?
And you could limit your requests to a second each while you wait for them to respond! :)
Same here! how to avoid 429 when using internal opensea-js functions? there is no method to add delay or limit requests
Same, same @ubudragon @RobinBosch @Coppola-Aleandro @elliottrisby Was anyone able to find a fix?
For example, setting offset to anything above 1400, pops out either a Error 429 or a Server Error 500 url = "https://api.opensea.io/api/v1/assets?order_by=sale_date&order_direction=desc&offset=1600&limit=50"
I even have an API key and still isn't working.
I have the api key yet am getting this error
Same here @version0chiro
Same here
same issue here
ngmi
const openSeaResponse = await fetch(
`https://api.opensea.io/api/v1/assets?owner=${address}&limit=50&order_by=sale_price`,
{
method: 'GET',
headers: {
'X-API-KEY': process.env.OPENSEA_API_KEY,
},
}
);
for now, im fetching without any headers
Same @ubudragon @RobinBosch @Coppola-Aleandro @elliottrisby @peduarte until five days ago all worked . (i have API KEY)
Hi, I'm getting the same error but on testnets.opensea.io. I'm using the API key that comes by default on this page: https://docs.opensea.io/reference/retrieving-orders-testnets-1
This thread has been hijacked by another API issue. OP was reporting on SDK api issue.
If you are not commenting on the SDK createFactorySellOrders function, then you are in the wrong issue.
It appears that API keys are now required for functions that were optional with rate limits and this is generating a lot of traffic around throttle errors.
Again, if you are not commenting on the SDK createFactorySellOrders function, then you are in the wrong issue.
Usually 429 errors happen when you don't have an api key or you are reaching the rate limit. The testnets api key is a different one than the main network api key. That being said, the original request was about createFactorySellOrders errors. Is anyone still getting this error? Please let me know!
How can I get the testnets api key?