MetaMask / MetaMask/metamask-mobile

Error: UserStorageController - failed to save account to user storage - failed to upsert user storage for path 'accounts_v2.**'. Snap execution service returned no RPC handler for running snap "npm:@metamask/message-s...

Open
#14,844 0 comments 0 reactions 0 assignees View on GitHub
area-sentry regression-RC-7.45.0 Sev2-normal team-identity-deprecated type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

Sentry Issue: [METAMASK-MOBILE-3PG0](https://metamask.sentry.io/issues/6565686537/?referrer=github_integration)

```
Error: UserStorageController - failed to save account to user storage - failed to upsert user storage for path 'accounts_v2.**'. Snap execution service returned no RPC handler for running snap "npm:@metamask/message-s...
at ?anon_0_ (node_modules/@metamask/profile-sync-controller/dist/controllers/user-storage/account-syncing/controller-integration.cjs:35:24)
at throw (native)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _throw (node_modules/@babel/runtime/helpers/asyncToGenerator.js:20:27)
at tryCallOne (node_modules/promise/setimmediate/core.js:37:14)
...
(11 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

Research direction

Start with the stack trace location in node_modules/@metamask/profile-sync-controller/dist/controllers/user-storage/account-syncing/controller-integration.cjs and trace the UserStorageController account-syncing integration into the mobile app. Reproduce or inspect the Sentry issue to determine why the running snap has no RPC handler; done means the failing account-storage operation no longer produces this error and the relevant behavior is covered by an existing or added test.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.