Need Help Reverting App to Old Release

Hi, I accidentally saved bad code (recursive) on my app, now I can't access the editor. Could you please revert to a clean version?

https://salesmagician.retool.com/apps/3a0106d0-1d66-11f0-9f3a-07b2b48d6e03/Leads%20Magician%20API/home

Hi @Abdul_Amoud1,

Sorry to hear this happened! You can append the ?_historyOffset=x url parameter to your app url to step back x number of steps in the app history. If you just made the change. you can probably get away with a small number, like: _historyOffset=1. Note that you will want to append this url param to the editor link, not the end user link

Although this topic isn't related to your issue, it describes more info about the history offset param

Once you're able to load the app, make your changes to prevent the recursion and reload the app without the url param.

Let me know if you have any questions :blush:

Hi @Tess, thank you. I just realized this app doesn't use Release Control. I'm trying to revert to previous save in history.

And it's still not working

Hi @Abdul_Amoud1,

You can use the history offset parameter without releases. How many steps back have you tried? (meaning what number did you put on the editor url - https://<INSTANCE_BASE_DOMAIN>/editor/<APP_UUID>?_historyOffset=5)

Does https://salesmagician.retool.com/editor/3a0106d0-1d66-11f0-9f3a-07b2b48d6e03?_historyOffset=5 still not load the app?

Per chat in office hours, this is resolved! :blush: :white_check_mark:

For anyone running into similar issues, there was a caching issue with the history offset link.