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

_invokeWithStreamedResponse does not return any Data when throwing a httpError #637

Open
2 tasks done
bbauman1 opened this issue Jan 9, 2025 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@bbauman1
Copy link

bbauman1 commented Jan 9, 2025

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Understand that this function is marked experimental but creating an issue to track that when an httpError is thrown the Data object is always empty. I tried coming up with a fix here but it didn't seem to work. bbauman1@43d9f01

Also, lesser important, but the completionHandler doesn't always get called which leads to an error in Xcode logs

To Reproduce

Call _invokeWithStreamedResponse and have it throw an error

Expected behavior

Data object is not empty

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

@bbauman1 bbauman1 added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant