Built-in Supabase integration returns 401 while custom API call succeeds

Integrations

Hi,

I’m having an issue with the built-in Supabase integration in FlutterFlow. When I configure it using my project URL and anon key, all requests from the FlutterFlow preview return a 401 Unauthorized error.

However, if I create a custom API call inside FlutterFlow using the exact same Supabase URL and anon key, the request works correctly (returns 200). I also tested the same request using curl in the terminal, and it works there as well.

Has someone encountered a similar issue and knows how to solve it (I really want to use Supabase through integration as it is a lot easier to work with that way)?

What have you tried so far?

Here’s what I’ve already verified:

  • I am using the correct Supabase project URL

  • I am using the correct anon (public) key, not the service_role key

  • There is no Row Level Security blocking the request (I tested with permissive policies)

  • The same request works via curl and via a custom API call in FlutterFlow

Did you check FlutterFlow's Documentation for this topic?
Yes
2
1 reply