You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can run the functions on the database in the supabase SQL editor. But when I try to run them in a server function in a Netlify serverless function I get an error saying:
Searched for the function public.get_claim with parameters claim, uuid or with a single unnamed json/jsonb parameter, but no matches were found in the schema cache.
Improve documentation
Link
RPC section of the readme. https://github.com/supabase-community/supabase-custom-claims#getting-claims-data-from-the-server
Describe the problem
I can run the functions on the database in the supabase SQL editor. But when I try to run them in a server function in a Netlify serverless function I get an error saying:
Here is how I called the rpc.
I would expect if it were an auth problem I would get an authentication error.
I tried to reset the schema cache with
NOTIFY pgrst, 'reload schema';
But it didn't change anything.The text was updated successfully, but these errors were encountered: