PricingBlog

API return values not shown in formula editor

  • prettycold_-1285172226639003660

    Sam B

    1 year ago

    I use Xano as my backend. In one of the APIs that I invoke from Toddle, for some reason I'm not seeing the response that Xano sends. From Xano end, I'm able to see it is sending the right information (it's jsut 1 id that I'm asking it to send and it does)

    In Toddle, I'm trying to set it in session storage as I need it in further screens. But the individual set of items in response is not seen. Hence when I fetch this session variable and set it in my next API, it gets passed as an object and thus Xano throws an error.

    Funny thing is, I invoke login API in the previous step and do a similar step of setting few response variables in session storage. I don't have a problem there.

    I tried in preview mode, I published it and tested in live app, nothing works.

    Any ideas?
    1285172226844262463-image.png
  • prettycold_-1285231007666147391

    Sam B

    1 year ago

    Alright, found a fix myself. I'm not sure whether this is the way to go, anyways for now I'm able to proceed further.

    I disabled authentication on both front end and on back end and I executed the page, entered the values, I'm then able to see the data values in my formula editor. I set the required variable to my session storage and then enabled authentication on both ends.

    When I preview my app, it goes through fine.