MetaMask / MetaMask/metamask-extension

Error: networkConfigurationId does not match a configured networkCo...

Open
#24,033 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Sev2-normal team-extension-platform
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Sentry Issue: METAMASK-X9K0

Error: networkConfigurationId ba2372e5-83cb-463c-a517-329cd88a3607 does not match a configured networkConfiguration or built-in network type
  at <object>.setActiveNetwork (app/scripts/metamask-controller.js:4667:33)
  at switchEthereumChain.implementation (app/scripts/lib/rpc-method-middleware/handlers/switch-ethereum-chain.js:150:15)
  at <anonymous> (app/scripts/lib/rpc-method-middleware/createMethodMiddleware.js:55:9)

Comment: It seems user's trying to switch to a network that doesn't exist.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with app/scripts/metamask-controller.js:4667 and trace the switchEthereumChain flow through app/scripts/lib/rpc-method-middleware/handlers/switch-ethereum-chain.js:150. Investigate how an unknown networkConfigurationId reaches setActiveNetwork; the issue does not specify an expected fix or completion criteria.

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.