metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

Can't cancel, fix or remove error: "There was a problem loading your token balances."

Open pinheadmz opened this issue 9 years ago • 25 comments

I'm playing with the truffle webpack sample contract "MetaCoin" and tried to import that contract as a token into MetaMask. I think whats happening is, MetaCoin is not ERC20 so MetaMask errors out trying to load balances (see log below). Unfortunately there does not appear to be a way to remove or attempt to fix a "broken token" from MetaMask. I'm stuck with this error... forever?

failed to load balance for token at 0xb694546b4030e31fb7f8c4e3d9e8eee89bf3fada
updateValue @ popup.js:25916
popup.js:81048 Error: [ethjs-rpc] rpc error with payload {"id":7101404402339,"jsonrpc":"2.0","params":[{"to":"0xb694546b4030e31fb7f8c4e3d9e8eee89bf3fada","data":"0x70a0823100000000000000000000000071471afa32e0fedfdb16e5cc3425af259a375893"},"latest"],"method":"eth_call"} null
    at popup.js:29232
    at popup.js:74170
TokenList.render @ popup.js:81048

popup.js:81048 Error: [ethjs-rpc] rpc error with payload {"id":6982397503581,"jsonrpc":"2.0","params":[{"to":"0xb694546b4030e31fb7f8c4e3d9e8eee89bf3fada","data":"0x70a0823100000000000000000000000071471afa32e0fedfdb16e5cc3425af259a375893"},"latest"],"method":"eth_call"} null
    at popup.js:29232
    at popup.js:74170
TokenList.render @ popup.js:81048
popup.js:29232 Uncaught (in promise) Error: [ethjs-rpc] rpc error with payload {"id":6982397503581,"jsonrpc":"2.0","params":[{"to":"0xb694546b4030e31fb7f8c4e3d9e8eee89bf3fada","data":"0x70a0823100000000000000000000000071471afa32e0fedfdb16e5cc3425af259a375893"},"latest"],"method":"eth_call"} null
    at popup.js:29232
    at popup.js:74170

pinheadmz avatar Jun 29 '17 18:06 pinheadmz

I don't believe those errors are preventing the view from loading. That view ignores invalid tokens. You seem to be having other network issues, it may be Infura.

Have you tried with a local node, like testrpc?

danfinlay avatar Jun 29 '17 21:06 danfinlay

Sorry I should have included, I was only using testrpc with truffle init webpack (the little demo example). The MetaCoin web UI worked fine and sent transactions on the test blockchain. I was just experimenting with loading the MetaCoin contract into MetaMask but I don't think it works because the MetaCoin contract getBalance doesn't match the ERC20 specified balanceOf. And I only think that because of the console errors:

popup.js:81048 Error: [ethjs-rpc] rpc error with payload {"id":7101404402339,"jsonrpc":"2.0","params":[{"to":"0xb694546b4030e31fb7f8c4e3d9e8eee89bf3fada","data":"0x70a0823100000000000000000000000071471afa32e0fedfdb16e5cc3425af259a375893"},"latest"],"method":"eth_call"} null

(see https://www.4byte.directory/signatures/?bytes4_signature=70a08231)

...either way, there is no way to clear the "problem loading" error or stop MetaMask from attempting the above call every time the view refreshes.

pinheadmz avatar Jun 29 '17 21:06 pinheadmz

I can confirm the issue. The view is completely blocking the loading and I'm not able to view any other tokens

rstormsf avatar Jun 30 '17 00:06 rstormsf

screen shot 2017-06-29 at 5 18 48 pm

rstormsf avatar Jun 30 '17 00:06 rstormsf

error div takes the whole container's view, so no doubt it prevents to show other tokens

rstormsf avatar Jun 30 '17 00:06 rstormsf

@rstormsf you're having a different issue - seems like your local node is not responding (my guess is testrpc crashed per your other issue)

kumavis avatar Jun 30 '17 00:06 kumavis

im seeing the request go thru ok but maybe ethjs-rpc doesnt like the 0x result - or theres a 5xx http error from infura shedding load

$ curl -d '{"id":7101404402339,"jsonrpc":"2.0","params":[{"to":"0xb694546b4030e31fb7f8c4e3d9e8eee89bf3fada","data":"0x70a0823100000000000000000000000071471afa32e0fedfdb16e5cc3425af259a375893"},"latest"],"method":"eth_call"}' https://mainnet.infura.io
{"jsonrpc":"2.0","id":7101404402339,"result":"0x"}

kumavis avatar Jun 30 '17 00:06 kumavis

Need QA on this to affirm it's still an issue. @tmashuang ?

2-am-zzz avatar Aug 02 '17 17:08 2-am-zzz

I still have this issue running testrpc which is otherwise running normally. I added an incorrect contract address and all previous tokens are not visible. no action available to add new token (or remove current broken token)

okwme avatar Aug 05 '17 16:08 okwme

I have same issue on Firefox on macOS Sierra. Chrome works fine

bronestly avatar Aug 15 '17 09:08 bronestly

same here with Chrome on Windows 10

pizzamx avatar Aug 15 '17 16:08 pizzamx

Guys, is there a work around for this issue. I cannot list my tokens on both chrome and firefox.

dimitar-petrov avatar Aug 15 '17 16:08 dimitar-petrov

This morning's issue is related to backend overload, and it will be fixed soon, but you can work around it by running a local node. https://consensyssupport.happyfox.com/staff/kb/article/2-using-a-local-node/

danfinlay avatar Aug 15 '17 17:08 danfinlay

I also have an issue. I just participated in an ICO and can't view any of my tokens now. I keep getting the following error: "There was a problem loading your token balances." Can you confirm that you are aware of this issue and let me know when it is likely to be resolved please? It's quite important for me to get access back ASAP, so I would really appreciate your help

fightfear avatar Aug 15 '17 18:08 fightfear

I can confirm that. You can still check your token balance on Etherscan if you are concerned.

danfinlay avatar Aug 15 '17 18:08 danfinlay

Thank you for taking your time to reply

fightfear avatar Aug 15 '17 18:08 fightfear

We've mitigated this for the time being by including a link to an alternate token viewing site when our token list is down.

danfinlay avatar Aug 22 '17 15:08 danfinlay

Doesn't do you much good to be able to check token balances on etherscan as you can not get to them. Cant move them or access them in any way shape or form.

uworld66 avatar Sep 03 '17 15:09 uworld66

Here's our current guide on managing tokens in MetaMask: http://metamask.consensyssupport.happyfox.com/kb/article/4-managing-tokens

In it you will find instructions on sending tokens, which does not involve our token list at the moment.

danfinlay avatar Sep 03 '17 16:09 danfinlay

Here's also a problem,console log :Uncaught (in promise) Error: [ethjs-rpc] rpc error with payload {"id":7906040246739,"jsonrpc":"2.0","params":[{"from":"0x1ca663370c20706ba1ac04e47a946bceef7cd83a","to":"0x0bd7b04d7675a0a268910c2a3f7ac77eaf3d4e1b","value":"0xde0b6b3a7640000","gas":"0x6170d4","gasPrice":"0x4a817c800"}],"method":"eth_estimateGas"} Error: VM Exception while processing transaction: invalid JUMP at 2c16f120809957031c7b12a4533d41cf8f309bef58bb705f5c3b3c7680064f13.

The account has enough eth.

steven0610 avatar Dec 23 '17 07:12 steven0610