Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Failed to fetch #127

Open
sentry-io bot opened this issue Oct 28, 2023 · 0 comments
Open

TypeError: Failed to fetch #127

sentry-io bot opened this issue Oct 28, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 28, 2023

Sentry Issue: THATCONFERENCE-COM-JS

TypeError: Failed to fetch
  at window._sentryFetchProxy (<anonymous>:4:56)
  at window.fetch (<anonymous>:5:51)
  at window.fetch (/_app/immutable/entry/start.ea20df43.js:1:1551)
  at C (/_app/immutable/chunks/gfetch.63a7660f.js:2:4469)
  at None (/_app/immutable/chunks/gfetch.63a7660f.js:2:4972)
...
(12 additional frame(s) were not displayed)

The failed to fetch error in this sentry report appears to have happened in /api/auth/proxy.

this route uses isomorphic-fetch directly without retries. We should add a fetch-retry library to this fetch.

Either directly add fetch-retry or use gfetch?

code: https://github.com/ThatConference/thatconference.com/blob/main/src/routes/api/auth/proxy/%2Bserver.js

update:
Reading through the Sentry report again, it loos as though the call to https://thatconference.com/api/auth/proxy is what is generating the failed to fetch error. It doesn't appear that https://thatconference.com/api/auth/proxy was called in this case. It failed to be called.

@sentry-io sentry-io bot added bug Something isn't working enhancement New feature or request labels Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

0 participants