https://discord.gg/botpress logo
Webhook Custom Code Json Issue
# 🤝help
l
hi so i have a bot where i recieve data from external source (make.com) It doesnt directly reieve it from make for some reason it shows empty brackets but when i use smaller values it works perfectly So I though the best way around it would be custom code So I somehow got a custom code working on vs code and other platforms but for some reason it doesnt work in Custom code block in botpress
the error i face is state not defines
ss from make.com issue
w
Did you try minimizing your json in make like I suggested in the general chat ?
g
I think the issue is related to make honestly I had times where it worked perfectly and I changed the content of the json to variable place holders then suddenly it didn’t work
l
The thing is I can't avoid lines Because the data I need to send is a large paragraph
I also think so
I Kind of found a fix for it that I would upload the data to paste bin and share it with the bot as it is a short url