© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7d ago•
15 replies
pushstartgo

REST API failing with HTTP/2 connection errors - auth works, dashboard works, API calls fail

🔢DB Connections
Hey everyone, I've been stuck on this issue for about a week and have exhausted all troubleshooting options.

The Problem:
My app can authenticate users successfully, and I can see all my data in the Supabase Dashboard (Table Editor, SQL Editor), but ALL REST API calls from my frontend fail with connection errors:

net::ERR_HTTP2_PROTOCOL_ERROR
net::ERR_CONNECTION_CLOSED
net::ERR_CONNECTION_RESET
Project ref: oqbuwctpbpmwmkkikgae

What I've tried:

✅ Verified correct Supabase URL
✅ Verified API keys match (tried both legacy anon key AND new sbpublishable format)
✅ Tested on multiple browsers (Chrome, Safari)
✅ Tested on multiple networks (home WiFi, mobile cellular data)
✅ Tested on multiple devices (desktop, mobile)
✅ Fresh Vercel redeploy (cleared build cache)
✅ Restarted the Supabase database
✅ Verified all database functions and triggers exist
✅ Using @supabase/supabase-js v2.47.11
What works:

Auth/login (can sign in, session persists)
Dashboard Table Editor (can see all my data)
SQL Editor queries (work perfectly)
What doesn't work:

Any REST API call from my app - connections drop before completing
Console errors look like this:

Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
Failed to load resource: net::ERR_CONNECTION_CLOSED
Failed to load resource: net::ERR_CONNECTION_RESET
[Data] Parallel loading failed, trying sequential
[Data] Attempting sequential loading...
[Data] Error loading user data

I saw GitHub issue #39844 describes similar symptoms. Is this a known infrastructure issue? Any workarounds that have worked for others?

help-and-questions


Appreciate any help! 🙏
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

failing with HTTP/2 1016 (Cloudflare origin DNS error
SupabaseSSupabase / help-and-questions
3mo ago
Basic HTTP User Auth with pgsql-http?
SupabaseSSupabase / help-and-questions
4y ago
google auth fail
SupabaseSSupabase / help-and-questions
5mo ago
DELETE rest request with pgsql-http extension
SupabaseSSupabase / help-and-questions
4y ago