Getting error "No pools found with enough liquidity, to calculate the price"

Trying to fetch usd price for a erc20 token using moralis api ā€œgetTokenPriceā€ in Nodejs application. Iā€™m currently using try/catch block, however, it still crashes my app with error ā€œNo pools found with enough liquidity, to calculate the priceā€.

Iā€™m moralis newbie. Any help will be appreciated.

can you give a concrete example? sometimes it works if you specify the exchange as a parameter

Iā€™ve managed to get past this by using fetch instead of getTokenPrice

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.