MetaMask / MetaMask/metamask-extension

[Sentry] Error: Internal JSON-RPC error.

Open
#20,315 16 comments 0 reactions 0 assignees View on GitHub
area-sentry external-contributor INVALID-ISSUE-TEMPLATE ready-for-dev regression-prod-10.34.1 regression-prod-11.2.0 regression-prod-11.6.0 regression-prod-12.12 regression-prod-12.12.0 regression-prod-13.18.1 Sev2-normal team-wallet-api-platform-deprecated type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Sentry Issue: [METAMASK-X62Q](https://metamask.sentry.io/issues/4344653453/?referrer=github_integration)

```
Error: Internal JSON-RPC error.
at new EthereumRpcError (node_modules/eth-rpc-errors/dist/classes.js:18:1)
at getEthJsonRpcError (node_modules/eth-rpc-errors/dist/errors.js:118:1)
at exports.ethErrors.rpc.internal (node_modules/eth-rpc-errors/dist/errors.js:28:1)
at parseResponse (node_modules/@metamask/eth-json-rpc-middleware/dist/fetch.js:100:1)
at (node_modules/@metamask/eth-json-rpc-middleware/dist/fetch.js:57:1)
...
(1 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

Research direction

Start with the linked Sentry issue METAMASK-X62Q and the stack trace, especially parseResponse in @metamask/eth-json-rpc-middleware/dist/fetch.js. Determine which JSON-RPC response produces the internal error and document a reproducible case; done means the failure is understood and the relevant error handling is corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.