typebot.io
typebot.io copied to clipboard
setVarible undefinied
setVariable function into script block returning undefinied error on 2.27.0
Works perfect in 2.24.0, when downgraded
Hey,
Can you clearly describe it by following this template:
- Steps to reproduce
- What's happening
- What were you expecting
It's even better if you can provide a screen recording.
This ultimately allow me to reproduce the bug so that I can fix it properly.
- I will take a time to reproduce
- I get an error that says "setVariable() function is not definied"
- I was expecting to update the value of a variable using the mentioned function into the script block
Please provide a reproduction
Closing. Feel free to re-open if you have more info
The error occurs because the script is executed in client mode. In this mode, setVariable is not available.