MetaMask / MetaMask/metamask-mobile
[Sentry] SyntaxError: JSON Parse error: Unrecognized token '<'
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
Sentry Issue: [METAMASK-MOBILE-402N](https://metamask.sentry.io/issues/6778120201/?referrer=github_integration)
```
SyntaxError: JSON Parse error: Unrecognized token '<'
at parse ([native code])
at tryCallOne (node_modules/promise/setimmediate/core.js:37:12)
at apply (node_modules/promise/setimmediate/core.js:123:15)
at (node_modules/react-native/Libraries/Core/Timers/immediateShim.js:46:16)
```
Contributor guide
Research direction
Start with the linked Sentry issue and its JSON parse stack trace, including the React Native timer path and promise frames. Trace the relevant request or response handling to identify why a value beginning with '<' reaches JSON parsing; done means the reported SyntaxError no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100