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’];
}
});