Skip to content

[Sentry] Error: Fetch failed with status '403': '' #20316

Open
@sentry-io

Description

@sentry-io

Sentry Issue: METAMASK-PVS3

Error: Fetch failed with status '403': ''
  at _default (shared/lib/fetch-with-cache.js:42:11)
  at checkTokenDetection (ui/components/ui/new-network-info/new-network-info.js:51:40)
  at checkTokenDetection (ui/components/ui/new-network-info/new-network-info.js:60:11)

403 errors are expected in small numbers. If they occur in large numbers, it may be due to an improper security mechanism we added server side. So if we see a spike in 403s, we should throw an alert so we catch the error state.

Next step:

  • Send an analytics event to Segment when 403 happens instead of throwing an error that ends up in Sentry. This will reduce unnecessary noise in Sentry (Sentry is meant to be used only for unexpected errors).

Metadata

Metadata

Assignees

Type

No type

Projects

Status

To be fixed

Status

To be triaged

Status

To be fixed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions