-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
MetaMask - RPC Error: The method undefined does not exist/is not available #7710
Comments
If I change it to |
Same: but changing it to Just gave me:
Had the same following the Medium post |
Same issue as Ramarti. I find it quite scary that the suggested method is not working and the breaking update is coming Q1 2020. |
I encounter the same error. If I don't override the web3 version that is injected by Metamask this error does not occur and the
works properly. I order to avoid this issue I fallback to On its own the OS: Windows 10 |
Hi all, I'm here to clarify the current situation: TLDR:
First of all, I'm very sorry for the confusion. "Breaking changes" are some of the worst things we ever have to subject developers to, and rolling them out is always a delicate thing, and we had some communication issues with this one, where we announced the changes before developers actually had a migration path to build on. The new syntax We started rolling out the breaking change in November, but we found some usability issues with some of the changes, which we decided to roll back and fix before publishing it again. You can read more about the state of the related branch here. Sorry again for the confusion, for now the proper way to call You can also call |
Thanks for the question! I'll close this now, as it seems to have been adequately answered. Please see our documentation for further information: https://docs.metamask.io/guide/ |
What to do in this situation? |
I am also facing the same issue |
Describe the bug
When calling
window.ethereum.send('eth_requestAccounts')
it throwsMetaMask - RPC Error: The method undefined does not exist/is not available
. I can only reproduce this on localhost.To Reproduce
I can only reproduce this locally at this time
Expected behavior
I would expect this not to throw that error message
Browser details (please complete the following information):
The text was updated successfully, but these errors were encountered: