functions-relay icon indicating copy to clipboard operation
functions-relay copied to clipboard

RelayError when invoking edge function using Next middleware

Open rbkayz opened this issue 2 years ago • 0 comments

Bug report

I'm facing a relay error whenever I'm invoking an edge function using Next Middleware. Works completely fine if I'm calling the function directly from the FE (i'd like to avoid exposing this to hide some of the headers)

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Create the default next project using create-next-app
  2. Call any supabase edge function in any API route
  3. See error

Expected behavior

Was working fine till yesterday. Not sure what changed

rbkayz avatar Jan 06 '23 18:01 rbkayz