error -32000, processing response error
See original GitHub issueOther function from the same contract work fine…
DATAPROTOCOL_CONTRACT.getUserAccountData(wallet).then((res:any[]) => {
console.log(res)
})
This one throw me this error. Someone can explain?
(node:23475) UnhandledPromiseRejectionWarning: Error: missing revert data in call exception (error={"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"id\":44,\"error\":{\"code\":-32000,\"message\":\"execution reverted\"}}","error":{"code":-32000},"requestBody":"{\"method\":\"eth_call\",\"params\":[{\"to\":\"0x7551b5d2763519d4e37e8b81929d336de671d46d\",\"data\":\"0xbf92857c000000000000000000000000c7ee2b140340801252e20e40c8f27a4bfe57d28f\"},\"latest\"],\"id\":44,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://polygon-rpc.com"}, data="0x", code=CALL_EXCEPTION, version=providers/5.5.0)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:8 (1 by maintainers)
Top Results From Across the Web
ethers: processing response error code -32000 ...
I am trying to get MetaMask to popup to approve a dapp to use my erc20 tokens like: const provider = new ethers.providers....
Read more >What is Solidity revert code "-32000" when interacting with ...
It is a generic error code returned by RPC provider when the call has failed. Share.
Read more >unpredictable_gas_limit | The AI Search Engine You Control
Error : cannot estimate gas; transaction may fail or may require manual gas limit ... error: Error: processing response error (body="{"jsonrpc":"2.0","id":56 ...
Read more >Understanding and resolving MetaMask error codes
This error means the requested resource does exist, but it's currently unavailable at the time of the request. This can occur when we...
Read more >UNPREDICTABLE_GAS_LIMIT when calling estimateGas ...
Error : cannot estimate gas; transaction may fail or may require manual ... error: Error: processing response error (body=“{"jsonrpc":"2.0" ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For me, polygon transactions took waaaay more time. So I had to add
maxFeePerGas
andmaxPriorityFeePerGas
in. After that, it works sweetly.@yanukadeneth99 I believe I ended up using ethers to estimate the gas in a separate step to make it work.