[SOLVED] API Call to Supabase function working in Supabase, but not in FlutterFlow

Database & APIs

I have a problem where I've defined an API in FlutterFlow which calls a function in Supabase and should return a list of records but it isn't working. I have other API calls to Supabase that are working without a problem, and the specific function returns data in Supabase. When I try it in FlutterFlow, I get an empty but successful response back. Any ideas on what could be wrong or what I can try?

What have you tried so far?

Tested other API calls that use the same headers, API key, and URL - returns data successfully

Tried recreating the API call, also not working

Tested the function in Supabase and it works and returns a record with the same user id I'm testing the API with

Tried passing the parameter explicitly instead of from a variable

Did you check FlutterFlow's Documentation for this topic?
Yes
2
4 replies