MetaMask / MetaMask/metamask-extension

[Sentry] Error: Unable to create account with provider "Bitcoin"

Open
#40,558 5 comments 0 reactions 0 assignees View on GitHub
area-sentry external-contributor regression-prod-13.20.0 regression-prod-13.26.0 Sev2-normal team-mctp team-networks type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### Describe the bug

Sentry Issue: [METAMASK-YJYX](https://metamask.sentry.io/issues/7304389834/?referrer=github_integration)

```
KeyringControllerError: KeyringController - Keyring not found.
at new KeyringControllerError (node_modules/@metamask/keyring-controller/dist/errors.cjs:21:1)
at callback (node_modules/@metamask/keyring-controller/dist/KeyringController.cjs:979:1)
at (node_modules/@metamask/keyring-controller/dist/KeyringController.cjs:1524:1)
at (node_modules/@metamask/keyring-controller/dist/KeyringController.cjs:1545:1)
at withLock (node_modules/@metamask/keyring-controller/dist/KeyringController.cjs:1601:1)
...
(3 additional frame(s) were not displayed)

Error: Unable to create account with provider "Bitcoin"
at exports.createSentryError (node_modules/@metamask/multichain-account-service/dist/utils.cjs:16:1)
at (node_modules/@metamask/multichain-account-service/dist/MultichainAccountWallet.cjs:462:1)
```

[Jira issue](https://consensyssoftware.atlassian.net/browse/MCTP-231)

### Expected behavior

No response

### Screenshots/Recordings

No response

### Steps to reproduce

No response

### Error messages or log output

No response

### Where was this bug found?

No response

### Version

No response

### Build number

No response

### Build type

No response

### Browser

No response

### Operating system

No response

### Hardware wallet

No response

### Additional context

No response

### Severity

Sev2

Contributor guide

Open the contributing guide

Research direction

Start with the Sentry trace and the referenced KeyringController.cjs and MultichainAccountWallet.cjs locations, then review Jira issue MCTP-231 for context. The payload provides no reproduction steps or expected behavior, so establish how the Bitcoin provider account-creation path reaches the missing keyring error and define a reproducible successful outcome before changing code.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.