SupabaseS
Supabase12mo ago
Kobaru

Fetch Failed

Hello 👋

I have
{
message: 'TypeError: fetch failed',
details: 'TypeError: fetch failed\n' +
'    at node:internal/deps/undici/undici:13392:13\n' +
'    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' +
'    at async h (/var/task/.next/server/app/api/twitch/webhook/eventsub/route.js:1:2653)',
hint: '',
code: ''
}

When doing
const { error } = await supabase
      .from('raids')
      .insert(newRaid)
    if (error) {
      console.log('Error adding raid to supabase')
      console.error(error)
    }

Context :
  • Server-side NextJS
  • Using Service Key
Do you guys have any clue on what could be the origin of the issue ?
Was this page helpful?