/erc20/metadata error

Hello! I’m trying to develop a function to get erc20 tokens metadata in Python.
I’m using the /erc20/metadata method by URL, but with some problems.
If I want to extract USDT metadata, the URL will be

https://deep-index.moralis.io/api/v2/erc20/metadata?chain=eth&addresses=0xdAC17F958D2ee523a2206206994597C13D831ec7

However the response I get it’s

The error for USDT is gone if I request two or more erc20 tokens:

https://deep-index.moralis.io/api/v2/erc20/metadata?chain=eth&addresses=0xdAC17F958D2ee523a2206206994597C13D831ec7&addresses=0x0F5D2fB29fb7d3CFeE444a200298f468908cC942

Could someone explain to me why this is happening?
The example’s with USDT token but happens with other erc20 tokens.
Thanks!

I will check a little later.

1 Like