Web3 API 500 error native token balance

When querying native token balances for several addresses on ethereum, it works perfectly for the most recent blocks but delivers a 500 error when putting blocks in the to_block parameter that are even as little as 1000 or 5000 blocks in the past for adresses for far more than a day.

Can you give an example of query?

For Sure. Give a minute.

The block number is approximately 6000-7000 blocks ago

url = https://deep-index.moralis.io/api/v2/0xf977814e90da44bfa03b6295a0616a897441acec/balance?chain=eth&to_block=13209223
but for recent block it works https://deep-index.moralis.io/api/v2/0xf977814e90da44bfa03b6295a0616a897441acec/balance?chain=eth&to_block=13216255

I also get that error, we will check, thanks for reporting.

1 Like

It should be fixed now.

Thank you. So far looks goood!

1 Like