Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: coinbase errorcode addEthereumChain #833

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

namgold
Copy link

@namgold namgold commented Jun 20, 2023

No description provided.

@vercel
Copy link

vercel bot commented Jun 20, 2023

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
Copy link
Author

namgold commented Jun 20, 2023

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