MetaMask / MetaMask/metamask-extension
Error: UserStorageController - failed to save account to user storage - Failed to fetch
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Sentry Issue: [METAMASK-XDHJ](https://metamask.sentry.io/issues/6126664675/?referrer=github_integration)
```
Error: UserStorageController - failed to save account to user storage - Failed to fetch
at UserStorageController.saveInternalAccountToUserStorage (node_modules/@metamask/profile-sync-controller/dist/controllers/user-storage/UserStorageController.cjs:540:1)
at (node_modules/@metamask/profile-sync-controller/dist/controllers/user-storage/UserStorageController.cjs:113:1)
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Sentry issue and the stack trace in node_modules/@metamask/profile-sync-controller/dist/controllers/user-storage/UserStorageController.cjs, especially saveInternalAccountToUserStorage at line 540. Investigate the failed fetch and the surrounding call at line 113; done means the reported account-save failure is understood and addressed, with the Sentry error no longer occurring.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100