FF Inserting Null Value into SupaBase Row

Actions & Logic

I've been trying to debug this for hours. I'm trying to insert a row into supabase, this row includes a session_id I am trying to insert, and the insert method is from an action output variable (generated UUID from custom actions which I've confirmed works and generates a UUID). My action flow is Generate UUID > insert row (session_id to generated UUID output variable) > update app state with session UUID.

This for some reason will not insert a row into supabase. I have the correct policies, RLS, checked which column allow null, etc, nothing is working. I keep getting an error "401 POST" and when checking the payload it's saying that the session_ID is null. I have read out all the error logs, my action flow and everything else to ChatGPT and still nothing is working. Everything it has suggested I have tried and at this point it's starting to suggest the same things. Any idea how to fix this?

What have you tried so far?

I have tried debugging, using safari console logs to check what's going wrong, I've used test and run mode, I've added a wait action of 500ms to see it maybe it just a timing issue. I can't figure out what's going on.

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