I'm facing an issue with template variables in WhatsApp. The error says the JSON is invalid due to bad characters or formatting. Can you help me sanitize or properly format the values before sending?
how can i make the input from user to be cleaned.
p
prehistoric-airplane-85682
08/06/2025, 8:18 PM
I would recommend using an execute code card, you could try the lodash replace method: _.replace(string, pattern, replacement).
Hope this helps!