Hi,
I have not made any changes to my code, but all of a sudden I am getting a 500 server error when I hit any of my web3 API routes. I am wondering if there are currently problems on the Moralis server? My code previously worked perfectly. Now I am always getting a 500 status error.
router.post('/nft/search', async (req, res) => {
try {
await Moralis.start({ serverUrl, appId })
const options = { q: req.body.q, filter: 'name', limit: 20 }
let NFTSres = await Moralis.Web3API.token.searchNFTs(options)
res.json({ NFTS: NFTSres })
} catch (err) {
res.status(500).json({ error: err })
}
})