https://discord.gg/botpress logo
Hey, I have a problem when I want to
# 🌎general
p
Hey, I have a problem when I want to execute a JavaScript code in a card. If I am in the Studio Editor --> Live mode on the right, everything works fine and the JavaScript is executed accordingly. However, if I am on the share page, where the bot is integrated, the piece of code to be executed is simply ignored and not executed. What is the error here?
w
Hi, look for error in the tab Log on bot dashboard
h
Something similar happens to me. The code works fine in the editor, but the live one does not. The error that appears in the logs is the following: https://cdn.discordapp.com/attachments/1283483256540368896/1283738626307391550/image.png?ex=66e41643&is=66e2c4c3&hm=6605c30a94480da8256d9456e27157262706c5714915813d3242796b424da0d6&