metamask-mobile
metamask-mobile copied to clipboard
Transaction error Internal JSON-RPC error on Token view Send when not enough MATIC to cover gas fee
Given I am on Wallet view
And I am on Polygon Mainnet
And I have 0.0001 MATIC balance
And I have 2.01 USDT balance
When I tap on USDT in Tokens list
And I tap Send in Token view
And I tap on Account 2 (either in Recents or Transfer between my accounts)
And I tap Next
And I tap Use Max
And I tap Next
Then Confirm screen is displayed
And error/warning message indicating I need more MATIC to complete transaction (FAILED: no message, see CW4)
And Send is disabled (FAILED: Send is enabled, see CW4)
Tapping Send in this scenario will display the JSON-RPC error.
https://recordit.co/uz4NxOH2Pk
Hi Chris, I am unable to reproduce this anymore. https://recordit.co/Lbbn25yuDV
Can you confirm this still happens?
Hi Sylva, this is still an issue. You can reproduce when you don't have enough MATIC to cover the gas cost.
As shared in our Slack chat, I don't think this is the reason. This error seem elusive and pretty random. However, you are sure to see this when you try to speed up confirmed transactions.
https://recordit.co/mfbjRqpbhI
I was able to reproduce it too on v5.6. I did not get get the warning message saying I don't have enough funds for the transaction (even though the gas estimated was higher then my Matic balance) and the send button was enabled. Clicking on the send lead to Transaction error Internal JSON-RPC error message.
This might be fixed by https://github.com/MetaMask/metamask-mobile/pull/5032
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.
This issue was closed because it has been stalled for 7 days with no activity. If you feel this was closed in error please reopen and provide evidence on the current production app. Thank you for your contributions.