Comments (4)
I'm observing the same issue in my React Native app, which uses supabase-js (2.43.2). Daily, hundreds of errors like that occur when trying to make some fetch or insert/update actions via the Supabase SDK. I have no idea where I should start debugging it.
from supabase-js.
It's caused by your network.
Change to a different router or internet connection. Just try your phone's hotspot and it will start working.
Not sure why it happens.
from supabase-js.
I'm doing also a lot of request to different APIs in the same time (Google Cloud function) and somehow I'm not observing this error there. It seems that the only solution right now will be wrap all requests to supabase with react-query and set some retry strategy.
from supabase-js.
I am encountering the error TypeError: Network request failed
when making a large amount of requests (switching between multiple screens of my app a bunch of times).
@ahanusek I know this has been closed for a bit now. I'd like to know if you've made any progress on why this happens, or if there's another solution around it? Don't believe the retry strategy in react query would help my case as I seem to be getting the error from subsequent requests after getting the first one fails and will only fix itself after closing the app and reopening it.
@modsushi Seems to be network related obviously. But the subsequent requests thing is a little strange.
from supabase-js.
Related Issues (20)
- Failed npm install due to postinstall.js
- _index.default is undefined - Expo app from Supabase tutorial throws an error on the web HOT 3
- JS Client logs sensitive credentials to stdout/stderr
- Using this package is incompatible with TS flag exactOptionalPropertyTypes
- NEQ doesn't work on joins HOT 3
- Unable to perform Google Sign In after upgrade to v2.44.4
- `createUploadSignedUrl` with upsert does not work HOT 7
- Wrong API key sent with network request HOT 1
- `createSignedUploadUrl` does not validate mime type.
- Can't insantiate Supabase client; fails with GoTrue error "window is not defined." HOT 2
- Client instantiation fails when done as documented. HOT 5
- There is no option for anonymous login in the Supabase Package. HOT 2
- Spread operator incorrect type generation
- Upsert does not work with not null with default HOT 2
- Vercel NextJS with-supabase example does not work with latest node20 runtime HOT 3
- createClient doesn't fully initialize in local testing HOT 1
- Can't use with unstable_enablePackageExports metro option (expo) HOT 1
- Joining relationships from `.rpc` function calls throws error
- `auth.updateUser()` kept sending the same OTP code when updating Phone provider HOT 3
- emailRedirectTo not working on auth.updateUser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supabase-js.