Retrieve row id from supabase

  • elli4931-1340727713618722917

    Vizualinx

    3 months 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

    3 months ago

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

    Lucas G

    3 months ago

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

    Lucas G

    3 months ago

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

    Vizualinx

    3 months ago

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

    Lucas G

    3 months ago

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

    Vizualinx

    3 months ago

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

    Andreas Møller

    3 months ago

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

    Vizualinx

    3 months ago

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