SupabaseS
Supabase2y ago
Gary

Should RPC work locally?

create or replace function hello_world() -- 1
returns text -- 2
language sql -- 3
as $$  -- 4
  select 'hello world';  -- 5
$$; --6


Trying to create this locally fails. If I check the logs I get:

{
  "code": 500,
  "message": "An error has occurred: fetch failed",
  "requestId": "61e1fb0f-d468-47ea-8fe5-8ba284a778c4"
}


I have tested it in my live project and it works.

Maybe you can't run these locally?
Was this page helpful?