Retrieve row id from supabase

  • elli4931-1340727713618722917

    Vizualinx

    27 days ago

    i'm trying to get back the id of a row when creating it by using return representation, for some reason i can't see the response (i'm trying to save it to a variable and show it in the text element). when i am doing auto fetch i am able to get the response but of course that is hammering supabase.
    it looks like the api is reloading after sending the data to supabase and setting the variable to null.
    1340727717360046090-Screenshot_2025-02-16_at_17.53.10.png
  • elli4931-1340731277694865408

    Vizualinx

    27 days ago

    It seems like a bug. i deleted the api and did again the same thing and it worked.
  • lucasg-1340737107991335002

    Lucas G

    27 days ago

    Are you using now() or similar in your body?
  • lucasg-1340737370185531532

    Lucas G

    27 days ago

    When the payload is constantly changing like that, it refreshes the response
  • elli4931-1340754622997860403

    Vizualinx

    27 days ago

    That makes sense, but i am not using now().
  • lucasg-1340755426538557450

    Lucas G

    27 days ago

    Then it might be a bug but it sounds like you already solved it by remakign the API
  • elli4931-1340757112246243391

    Vizualinx

    27 days ago

    yes i did solve it. and it was probably a bug Team toddle should look into it
  • andreasmoller-1340757562575818752

    Andreas Møller

    27 days ago

    Do you know how to reproduce it?
  • elli4931-1340779340446564423

    Vizualinx

    26 days ago

    no. i just deleted it and recreated it and it worked.

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.