Pricing Blog

Preview tab displays back end data

  • giantguf-1168292573559935038

    GiantGuf

    2 years ago

    I haven't been working with Toddl for a few days and when I logged in and previewed one of my pages I see this back end data displayed above the rendered page.
    1168292573786415124-image.png
  • andreasmoller-1168470710843363379

    Andreas Møller

    2 years ago

    That looks funky. can you share a link?
  • giantguf-1174364619087822858

    GiantGuf

    2 years ago

    Hi Andreas, sorry i had to pause my work on Toddl for a while and unfortunately missed your message.
    The address is: https://start-crypto_screener.toddle.site/monitor
  • erikbeus-1174365486482460682

    Erik Beuschau

    2 years ago

    I'll have a look @GiantGuf 👀
  • erikbeus-1174366247840923758

    Erik Beuschau

    2 years ago

    Could you invite me to your project perhaps? erik@toddle.dev
  • giantguf-1174367692824793128

    GiantGuf

    2 years ago

    Invited
  • erikbeus-1174368147218903090

    Erik Beuschau

    2 years ago

    Thanks. I'll get back to you tomorrow 👍
  • giantguf-1174368564115935242

    GiantGuf

    2 years ago

    👍
  • erikbeus-1174661815251259465

    Erik Beuschau

    2 years ago

    It appears your Get Latest Coins Uniswap API in the Monitor component requests an html page - not a JSON response for instance. Since we're trying to run all "Auto fetch" requests server side, the encoding of that response messes up our html structure which means that the browser doesn't know how to interpret it.
    I'm working on a fix so we don't try to encode html responses, but in the meantime you can either:
    - Point your API to a different url that responds with JSON (if that's what you're looking to do)
    - Disable the "Auto fetch" checkbox on your API request
    Let me know if this doesn't solve your issue 👍
  • giantguf-1174693146865696840

    GiantGuf

    2 years ago

    I'm so glad you found the issue! That request was just a test so I didn't think of it could cause a problem. Thanks Erik!
    👍1