Opensea plug-in throttle

Hi, i have created an buy offer in opensea rinkeby testnet, but moralis plugin is showing error, that order doesnot exists…

ERROR Error: Uncaught (in promise): Error: Something went wrong
{
“code”: 500002,
“message”: “No orders found”,
“details”: {
“method”: “getOrders”,
“network”: “rinkeby”,
“orderSide”: 0,
“tokenAddress”: “0xcD96cb0EBE0899790c5aa38Ab72c7D4F04154484”,
“tokenId”: “2”,
“page”: 1,
“error”: “API Error 429: Message: {“detail”:“Request was throttled. Expected available in 1 second.”}”
}
}
Error: Something went wrong
{
“code”: 500002,
“message”: “No orders found”,
“details”: {
“method”: “getOrders”,
“network”: “rinkeby”,
“orderSide”: 0,
“tokenAddress”: “0xcD96cb0EBE0899790c5aa38Ab72c7D4F04154484”,
“tokenId”: “2”,
“page”: 1,
“error”: “API Error 429: Message: {“detail”:“Request was throttled. Expected available in 1 second.”}”
}
}

My Code

await Moralis.Plugins.opensea.getOrders({
network: environment.moralis_network,
tokenAddress: tAdd,
tokenId: tId,
orderSide: 0
}).then((orderArr: any)=>{
if(orderArr != null){
this.nftOrders = orderArr[‘orders’];
}
});

do you get this error every time?

You need to get API key from opensea and enter it into your plugin settings to not get limited by them

The opensea plug-in is based on opensea API and requires you to have their api key if you do something that is above their public limits

1 Like

yes… i am getting this error everytime

okay…actually i have already applied, but have not recieved

I would love to provide you with a key, if you’re still interested. Add me on discord : n0b0dyC#9545

What are some of the resons you can use when requesting API key from Opensea?