MetaMask / MetaMask/metamask-extension
[Sentry] Error: failed to generate nonce: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Open
area-sentry
regression-prod-12.16.0
Sev2-normal
team-identity-deprecated
type-bug
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Sentry Issue: [METAMASK-XHH4](https://metamask.sentry.io/issues/6543132175/?referrer=github_integration)
```
Error: failed to generate nonce: Unexpected token '<', "
Contributor guide
Research direction
No source file or test is named. Start with the linked Sentry issue and trace the nonce-generation path to identify why an HTML response is being parsed as JSON; done means the reported nonce-generation error no longer occurs and the behavior is covered by an appropriate check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100