question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error -32000, processing response error

See original GitHub issue

Other 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:open
  • Created 2 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
yanukadeneth99commented, Aug 23, 2022

For me, polygon transactions took waaaay more time. So I had to add maxFeePerGas and maxPriorityFeePerGas in. After that, it works sweetly.

1reaction
nickjuntillacommented, Aug 23, 2022

@yanukadeneth99 I believe I ended up using ethers to estimate the gas in a separate step to make it work.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found