PricingBlog

Add to supabase error

  • uunicode-1265725011210014741

    unicodes

    1 year ago

    "new row violates row-level security policy for table "organizations"

    I need you help, this issue is too strange, I can not undestand it.
    1265725011801669733-Screenshot_2024-07-24_at_20.38.14.png
  • lucasg-1265725286574587966

    Lucas G

    1 year ago

    Make sure you're logged in. Sometimes it's a little thing like that
  • uunicode-1265727144856649950

    unicodes

    1 year ago

    After login I set the user_id in a variable and after refreshing the page I found the value in the variable. I'm logged in because I'm doing it every test just for tring to avoi the issues, but nothing.
    1265727143543836732-Screenshot_2024-07-24_at_20.43.11.png
    1265727143875182652-Screenshot_2024-07-24_at_20.46.20.png
    1265727144407994478-Screenshot_2024-07-24_at_20.46.28.png
  • uunicode-1265737755481215098

    unicodes

    1 year ago

    @Lucas G do you know If I have to do something special in order to let the API know that I'm logged in? I have selected the Bearer access token, is there something else that I have to do? thank you!
  • lucasg-1265739717387878563

    Lucas G

    1 year ago

    No, other than log in on the preview site (not inside the editor) everything should be working
  • If the user is authenticated then it’s hard to say what’s happening here 🤔
  • max.kayr-1265743463123652649

    Max

    1 year ago

    What does your api call look like?
  • uunicode-1265755594178957423

    unicodes

    1 year ago

    I would screen some sensible information, I will text you Max.
  • lucasg-1265756069766889634

    Lucas G

    1 year ago

    If you make a separate call to fetch user, do you get the proper info?
  • Max is a pro though he can help you out 👍
    🥰1