getTokenBalances fail [SOLVED]

Hi, i got today this error:
{“code”:141,“error”:"[object Object]"}

while using:
const balances_info_from_moralis = await Moralis.Web3API.account.getTokenBalances();

Hi @legenuspl

I’ve just tested Web3API - it works correctly. Check if you use the latest versions of Moralis SDK and Moralis server

How many times you got that error?

5 maybe? now works, so it could be just server overload?

Share your subdomain I’ll check :man_mechanic:

now I get:
yr9arcyilvx1.moralisweb3.com:2053/server/functions/getNativeBalance:1 Failed to load resource: the server responded with a status of 400 ()

sub : yr9arcyilvx1

{“code”:141,“error”:"[object Object]"}

I just checked the logs and it shows me that you recieve responses. You have had an error response when you tried to specify incorrect address 0x...

Can you confirm that it works correctly?

Yes, i had in options default ones, works! Thanks!

1 Like