Error -32603, just started today on Polygon

I’ve been using remix to mint on my contracts for several months now, but today I just started getting the following error:

[ethjs-query] while formatting outputs from RPC ‘{“value”:{“code”:-32603,“data”:{“code”:-32603,“message”:“Internal error”}}}’.

I’ve tried adjusting gas limits, priority fees, and resetting the account, but nothing seems to be working. Any ideas or suggestions?

2 Likes

Same here. Not sure whats going on. Also can’t change anything in network settings.

1 Like

Hey @NukeCouture and @alpacats, welcome to the MetaMask community! :fox_face:

This is likely an issue with your smart contract you are trying to deploy. Possibly something like this:

I had the same error (JSON-RPC error -32603). My issue was the I defined my payable in my smart contract like this:
“function deposit() payable public{}”, whereas I needed to make use of the fallback() and receive() functions. I replaced that line of code with “fallback() external payable{}” and “receive() external payable()” and it works!

Here is more information that may help you:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.