ratty-blush
ratty-blush2y ago

Unexpected token ILLEGAL

Can someone explain me why I've this ?
No description
9 Replies
Tico | Voiceflow Assistant
I'm sorry, but based on the information provided, I couldn't find a solution to the "Unexpected token ILLEGAL" error in JavaScript. The source documents mainly discuss the integration of Voiceflow with Telegram, the use of Voiceflow's API, and the creation of custom entity types. They do not provide specific information on JavaScript syntax errors. If you need more specific help, please provide the exact line of code where the error occurs.
W. Williams (SFT)
😆 never seen that one. @Daniel
ratty-blush
ratty-blushOP2y ago
Ha okay 🤣 Maybe it's better to sennd a mail to VF staff than a discord message ?
Steve B. | IntelleSync.uk
Have you try single quotes?
ratty-blush
ratty-blushOP2y ago
yes this is the same
quickest-silver
quickest-silver2y ago
mm probably because you have a bunch of special characters that are messing with it Try popping it into chatGPT and asking to turn it into a string or remove special characters
ratty-blush
ratty-blushOP2y ago
That's good, thank you very much !
quickest-silver
quickest-silver2y ago
Also @JEFITO a better workaround is to use the Javascript step! Ran into this yesterday myself just do variable = 'value' That bypasses alot of these issues. Just make sure your string is in between quotes. If youre dealing with an object or array you can also do variable = JSON.stringify(value) This just turns it into a string
ratty-blush
ratty-blushOP2y ago
Okay thanks you very much

Did you find this page helpful?