I am trying to call a function using Supabase node. I am getting error in the Add condition. “Error fetching options from Supabase tools” and here is the detailed error . Attached the screen shot.
My Supabase connection is authenticated as i am able to fetch the list of tables and RPC.
I have also granted permission to the RPC in supabase
GRANT EXECUTE ON FUNCTION public.get_prospect_onboarding_progress(UUID) TO authenticated;
What is the error message (if any)?
Issues:
There was a problem loading the parameter options from server: “Cannot read properties of undefined (reading ‘properties’)”
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
CREATE OR REPLACE FUNCTION public.get_prospect_onboarding_progress(id UUID)
RETURNS json
LANGUAGE plpgsql
SECURITY DEFINER
AS $
BEGIN
-- Your function code
END;
$;
Specify parameter manually in the Supabase node:
Add UUID parameter without using the dropdown
Enter the parameter name and value directly
The n8n Supabase node sometimes has trouble with function parameters that use custom types or have complex definitions.
If my solution helps solve your issue, please consider marking it as the answer! A like would make my day if you found it useful!