Why does MetaMask show an internal JSON-RPC error from Chainlist?
The MetaMask internal JSON-RPC error when adding a network from Chainlist is generic: find out whether the add request failed or the saved RPC endpoint did.
The Y News Editors3 min read
MetaMask shows an internal JSON-RPC error when adding a network from Chainlist because it encountered a problem processing the network-add request, but the message alone does not identify the cause. MetaMask checks the submitted network details, then uses the configured RPC endpoint for later network requests; those are separate steps.
Whether the network was saved, and when the error appeared, helps narrow down what to check.
The error can come from the add request or a later RPC call
An add-request failure means MetaMask could not accept the network configuration it received. A later RPC failure means the network may already be saved, but MetaMask could not complete a request through that network’s endpoint.
Chainlist entries include a Chain ID and RPC endpoint, along with details such as the native currency. The cause of MetaMask’s internal JSON-RPC error matters here because it can help you tell whether to inspect the add request or troubleshoot the endpoint. Keep those two outcomes separate as you investigate.
Say you choose a network and approve its details in MetaMask. If the error appears during that prompt and the network is absent from the wallet’s network list, focus first on what MetaMask was asked to add. If the network appears in the list but a balance or app request fails after you switch to it, the add may have succeeded; the endpoint request is now the more relevant problem.
Check the network details and the point of failure
For a rejected add request, reopen the intended Chainlist row and compare its Chain ID, RPC URL, and native currency with the values shown in MetaMask’s network prompt. A malformed or unsupported configuration can lead MetaMask to reject the request. Use the wallet’s error details and the network’s official documentation to verify the configuration if it persists.
For a network that is already saved, look at what failed after switching to it. A balance that does not load or an app request that returns an error points toward RPC availability or compatibility. Repeating the add request does not resolve a problem that occurs later when MetaMask calls the endpoint.
Consider two otherwise identical attempts with the same network details. In the first, MetaMask displays the error during approval and does not save the network; investigate the submitted configuration and wallet prompt. In the second, MetaMask saves the network, then a balance request fails; investigate the endpoint instead. The deciding factor is the stage at which the failure happens.
An internal JSON-RPC error is a broad wallet-facing message. By itself, it does not establish that Chainlist is broken or that the Chain ID is wrong. Retry only after reviewing the intended row and prompt, and use the error context to distinguish a rejected add from a later endpoint failure.
Related questions
MetaMask error 4902 when adding a network
When MetaMask shows error 4902 during an add attempt, use the wallet’s error details to identify the failed step, then verify the network configuration against its official information. The code alone does not replace checking what MetaMask was asked to add and whether it saved the network.
MetaMask network added but RPC request fails
If the network appears in MetaMask but a balance or app request fails, investigate the configured RPC endpoint and the request made through it. Saving a network and successfully querying its endpoint are distinct outcomes.