forked from node-fetch/node-fetch
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
- [ X] I confirm this is a bug with Supabase, not with my own application.
- [ X] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
On react native when a supabase-js rpc call fails due to the user being offline The specified blob is invalid
gets thrown instead of a meaningful error. I suspect it's coming from this node-fetch implementation as it's the only place I can find where blob might be involved. The blob implementation on react-native is incomplete: react-native-community/discussions-and-proposals#109
To Reproduce
- Run supabase-js on react-native
- Disconnect the device from the internet
- Attempt to call a postgres function
Expected behavior
Meaningful errors should be thrown instead of this react-native internal blob error
Screenshots
N/A
System information
- OS: macOS
- Browser (if applies) N/A
- Version of supabase-js: 2.39.7
- Version of Node.js: N/A
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working