-
Notifications
You must be signed in to change notification settings - Fork 558
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
Automatic connections FAILED on local setup #2529
Comments
Hi, please update your dapp connect code to use a string as the key for the Snap ID instead of an array, like so:
Please let me know if you still see the error after making this change. |
Hi, its not an array but a Computed property names syntax. It's actually a string key. |
What is the value of SNAP_ID? Usually this error is the result of an invalid ID. |
The value of SNAP_ID |
And just to be certain, |
|
Hmmm... what happens if you remove it entirely? Just:
|
Also, sorry, I'm noticing one other things that may or may not be an issue, we have
|
The same error happened. |
Hi team,
Today, I tried your new feature https://docs.metamask.io/snaps/how-to/allow-automatic-connections/ but immediately got some weird error that I couldn't debug myself. Please shed some light for my debugging. The error is thrown after I send RPC
wallet_requestSnaps
like below:The error:
Environment:
Metamask dependencies
package.json
:Snap Manifest:
The text was updated successfully, but these errors were encountered: