REST API unreliable when called from a Vercel edge function
Hello,
I use the REST api of supabase to insert a record into a table
What is weird is that :
I use the REST api of supabase to insert a record into a table
fetch(mySupabaseEndpoint, {method: "POST", headers, body}). It works when I run this function locally, but not when I deploy it to a Vercel edge function. What is weird is that :
- It's unpredictable, it works 1/4 of the time
- there is no error or exception
- I don't get result from the
, it hangs indefinitely. If Ifetchawait fetch(...); console.log('hello'), the texthellois not displayed