© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
11 replies
Bloo_DF

Problems with Supabase SDK, error 400 on DB Fetch.

I'm developing an app with Supabase, and trying to use the JS SDK to fetch some information from the DB.

When the app first run I got no problems at all, but when I refresh I always get
FetchError: Request with GET/HEAD method cannot have body
FetchError: Request with GET/HEAD method cannot have body


My code:

 await DiscordMessage.select(baseCols, {
        count: 'exact',
      }).gte('created_at', (() => startOfToday().toISOString())());
 await DiscordMessage.select(baseCols, {
        count: 'exact',
      }).gte('created_at', (() => startOfToday().toISOString())());


I dont know why this is happening :/
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase DB Problems
SupabaseSSupabase / help-and-questions
5mo ago
supabase db reset: problems with pg_cron
SupabaseSSupabase / help-and-questions
14mo ago
Coolify supabase setup db error
SupabaseSSupabase / help-and-questions
2mo ago
Supabase db pull, cast error
SupabaseSSupabase / help-and-questions
5mo ago