S
Supabase9mo ago
JohnD

SupaBase & Lovable

Anyone using Lovable.dev and Supabase together? My app was working perfectly and now I can't get any of my data from Supa to display in the Lovable app interface. #lovable
3 Replies
garyaustin
garyaustin9mo ago
Have not seen many users here, or at least they are not mentioning it. What is a Lovable app interface? Does that mean your app interface designed by Lovable? Do you do user auth and have you enabled RLS on your tables? If your user gets signed out would might not get data returned if you don't meet RLS.
JohnD
JohnDOP9mo ago
Yeah, I was using Bubble.io to build the app and got the urge to try prompt based ai to build the same app. Yeah, Lovable basically builds it based off of your prompts. I'm just running into to the data from Supabase not displaying on the lists after I prompted Lovable to somewhat restructure the Account Creator / Admin / User permissions. Ever since then, none of my data will load. I'm assuming it has something to do with Authenticating the user. All of the "Policies" in Supa looks correct and logical. I just can't get lovable to fix the code accordingly. It says it's fixing it, but no data is loading on any of my pages, even the user "Profile" page. Has to be something with authenication I would think.
garyaustin
garyaustin9mo ago
Check the Supabase API Gateway log to make sure your request is getting there. If so then likely RLS of bad filter, but not meeting RLS is the most likely reason for no data without error. You could also disable RLS on the table to verify.

Did you find this page helpful?