Skip to main content

When making an external request, with user data - it can occur that a user has typed in a sentence containing a special character like : or “. Then the external request breaks.

In the picture here - you have NO idea what string it is that is “unterminated” 

After traversing through the data I found that one of the strings (user inputs) contained a : 

 

Couldn’t manychat escape the variables when inserting them - or are there other work arounds to avoid this showstopper from happening?

 

Hello ​@asgerlaursen ,
Below is a screenshot showing how to resolve this issue. Basically, you need to click on the custom field and enable the "Encode to JSON" option.


Please let me know if I was able to help you.


Reply