MetaMask / MetaMask/metamask-extension

Error: Fetch with cache failed within function getIsTokenDetectionSupported with status'400': '' - `201K` ocurrences

Open
#28,259 1 comment 0 reactions 0 assignees View on GitHub
Sev2-normal
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

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

```
Error: Fetch with cache failed within function getIsTokenDetectionSupported with status'400': ''
at exports.default (shared/lib/fetch-with-cache.ts:52:11)
at checkTokenDetection (ui/components/ui/new-network-info/new-network-info.js:64:11)
```

Contributor guide

Open the contributing guide

Research direction

Start with shared/lib/fetch-with-cache.ts:52 and trace the call from ui/components/ui/new-network-info/new-network-info.js:64 through checkTokenDetection and getIsTokenDetectionSupported. Reproduce or inspect the reported 400 response, then determine the appropriate fix and verify that this error is handled without recurring at the reported frequency.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.