Search email error - The resource you are requesting could not be found

Hello everyone,

I am stuck with a workflow for a few days now and reaching out to see if anyone can help.

The workflow has 7 nodes and in node 5 where it searches for a similar email based on embeddings I get this error:

From HTTP Request

Error code

404

Full message

404 - "{\"code\":\"PGRST202\",\"details\":\"Searched for the function public.search_similar_emails without parameters or with a single unnamed json/jsonb parameter, but no matches were found in the schema cache.\",\"hint\":null,\"message\":\"Could not find the function public.search_similar_emails without parameters in the schema cache\"}"

Request

{ "headers": { "accept": "application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7", "apikey": "**hidden**", "Authorization": "**hidden**" }, "method": "POST", "uri": "http://35.187.96.159:8000/rest/v1/rpc/search_similar_emails", "gzip": true, "rejectUnauthorized": true, "followRedirect": true, "resolveWithFullResponse": true, "followAllRedirects": true, "timeout": 300000, "encoding": null, "json": false, "useStream": true }

I am sure the function exists in supabase as you can see in the screenshot.
I am also sure the input has 1536 embeddings as needed , so I am not sure what else it can be.

Any ideas?

Thanks a lot for any help!

Tim