Skip to content

fix: coinbase errorcode addEthereumChain#833

Open
namgold wants to merge 2 commits into
Uniswap:mainfrom
namgold:fix/coinbase-errorcode-addEthereumChain
Open

fix: coinbase errorcode addEthereumChain#833
namgold wants to merge 2 commits into
Uniswap:mainfrom
namgold:fix/coinbase-errorcode-addEthereumChain

Conversation

@namgold

@namgold namgold commented Jun 20, 2023

Copy link
Copy Markdown

No description provided.

@vercel

vercel Bot commented Jun 20, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 6:57am

@namgold

namgold commented Jun 20, 2023

Copy link
Copy Markdown
Author

as 20/6/2023, I got the error like below:

{
    "code": -32603,
    "message": "Unrecognized chain ID. Try adding the chain using addEthereumChain first.",
    "data": {
        "originalError": {
            "code": 4902
        }
    },
    "stack": "Error: Unrecognized chain ID. Try adding the chain using addEthereumChain first.\n    at ...",
    "docUrl": "https://docs.cloud.coinbase.com/wallet-sdk/docs/errors?version=3.7.0&code=-32603&method=wallet_switchEthereumChain&message=Unrecognized+chain+ID.+Try+adding+the+chain+using+addEthereumChain+first."
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant