Article Title:
networkConfigurationId undefined does not match a configured networkConfiguration
can’t able to switch network from react metmask ask to switch and all network but not able to switch
Article Link:
Translation Language:
Translation Submission:
1 Like
This issue will be fixed soon, see here for a temporary solution:
opened 09:07PM - 07 Apr 23 UTC
type-bug
### Describe the bug
After the release of `10.28.2` `wallet_switchEthereumChain… ` is no longer working. Error in console is `{code: -32603, message: 'networkConfigurationId undefined does not match a configured networkConfiguration', data: {…}}`. `10.28.1` has an issue where user has to approve the function twice. Downgrading to `10.26.1` allowed the `wallet_switchEthereumChain` to function. (Did not try versions between 10.26.1 and 10.28.1) It appears that the issue only happens when switching to a chain other than Ethereum but can not confirm 100%
### Steps to reproduce
1. Ensure that extension version `10.28.2` is installed in Chrome Desktop.
2. Visit a site which utilizes `wallet_switchEthereumChain`, trade.coinbook.app is an example.
3. Utilize Network dropdown on DAPP to select a chain to switch to. Metamask will open with correct chain swicth prompt. Error is logged after clicking Approve.
4. Depending on DAPP configuration there may be a catch that calls `wallet_addEthereumChain` on error.
### Error messages or log output
```shell
{code: -32603, message: 'networkConfigurationId undefined does not match a configured networkConfiguration', data: {…}}
```
### Version
10.28.2
### Build type
None
### Browser
Chrome
### Operating system
MacOS
### Hardware wallet
_No response_
### Additional context
_No response_
3 Likes
system
Closed
May 10, 2023, 11:47am
3
This topic was automatically closed after 29 days. New replies are no longer allowed.