Hello, Iāve been getting this 400 Bad Request error response when I try to run:
const options = { address, token_id, chain: 'eth'};
const nft = await Moralis.Web3API.token.getTokenIdMetadata(options);
The weirdest thing is that I also get a lot of 200 success responses where I get the data I expect, even though the only difference between requests that give me 200
vs 400
is the token_id
.
The actual error response is:
{"code":141,"error":"[object Object]"}
Iāve tried moralis version 0.0.45
and 0.0.69
with no improvement and this was working no problem a few weeks ago. It was only brought to my attention recently and when I look to see whatās going on, this happens across like 50-100 requests where half are 200 responses with the metadata that I need and the other are the error above.
Any idea what might be causing this? Is it due to rate limiting or my Moralis server needing to be upgraded?