Fixing the Metamask “switch networks” bug

How to resolve the “switch networks” issue when using Metamask with deSwap

If you've updated your Metamask browser extension to v10.28.1, you may experience an error message when using deSwap and other dApps. This may happen if you have added a custom network previously, and then try to switch to it via deSwap.

In this scenario you may see this message:

The display error reflects a discrepancy between the network configuration ID and the stored configuration settings.

––––––

To solve this issue temporarily:
For a quick fix, open the Metamask extension and manually select the network you need to switch to.

–––––––

To solve this issue permanently

  1. Head to the Metamask extension > Settings > Networks
  2. Add a “/” after the RPC URL e.g. https://arb1.arbitrum.io/rpc becomes https://arb1.arbitrum.io/rpc/
  3. Click ‘Save’


That’s it! Your issue should now be resolved.

*Important to note: This issue doesn’t impact users who added networks via dApp on v10.28.1 or through the MetaMask UI in v10.28.1.

For more reading and/or overall updates to fixes for this particular issue, please visit the Github thread below:

https://github.com/MetaMask/metamask-extension/issues/18453#issuecomment-1500799968

Didn't find any Solution?

Loaded with awesome features like Documentation, Knowledgebase, Forum & more!
Discord