MetaMask / MetaMask/metamask-extension
[Sentry] Error: NetworkClientId for domain cannot be called with a domain that has not yet been granted permissions
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Sentry Issue: [METAMASK-XB5F](https://metamask.sentry.io/issues/5659582204/?referrer=github_integration)
```
Error: NetworkClientId for domain cannot be called with a domain that has not yet been granted permissions
at .setNetworkClientIdForDomain (app/scripts/metamask-controller.js:2980:47)
at ReflectApply (app/scripts/lib/createMetaRPCHandler.js:23:31)
...
(13 additional frame(s) were not displayed)
```
Contributor guide
Research direction
Start at app/scripts/metamask-controller.js:2980 and follow setNetworkClientIdForDomain through app/scripts/lib/createMetaRPCHandler.js. The issue names no test, reproduction steps, or intended fix, so first determine the permission state behind the Sentry error; completion criteria are not defined by the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100