hi! why sometimes SuperTokens prints `Failed to fetch`?
y
hi! why sometimes SuperTokens prints
Failed to fetch
?
r
is this on the backend or frontend?
y
yep
r
Not sure what you mean by "yep".
y
sorry, it's on backend only
r
I see. Is it during social login? Or something else?
y
it's only happening when i start the app, so i think it's in init function. it does not seem to affect functionality though.
r
I see. Do you have a stack trace?
y
you mean this?
Copy code
TypeError: Failed to fetch
    at eval (webpack-internal:///../../node_modules/.pnpm/supertokens-website@13.0.1/node_modules/supertokens-website/lib/build/recipeImplementation.js:166:58)
    at eval (webpack-internal:///../../node_modules/.pnpm/supertokens-website@13.0.1/node_modules/supertokens-website/lib/build/fetch.js:493:46)
    at step (webpack-internal:///../../node_modules/.pnpm/supertokens-website@13.0.1/node_modules/supertokens-website/lib/build/fetch.js:136:31)
    at Object.eval [as next] (webpack-internal:///../../node_modules/.pnpm/supertokens-website@13.0.1/node_modules/supertokens-website/lib/build/fetch.js:73:24)
r
yes thanks
this is on the frontend
y
it happens like 1 out of 20 times
r
It usually happens if your backend is not running and the frontend is trying to query the backend
y
oh, then it's ok?
r
yea it should be OK.
3 Views