Constant error with the JSON, however, it is validated

I set up everything normally, tested the JSON and it is validated, when I activate the scenario after some messages, this error happens. And it continues for some time, but then it starts working again and soon the error appears again. Sometimes with different numbers.

The provided JSON body content is not valid JSON.

Bad control character in string literal in JSON at position 116. (Sometimes: 180, 188).

You’ve got special chars in the result coming from the agent. You can use a replace function to remove them, you can find several threads here on the community on how to structure one for escaping JSON special characters.

Or you can configure the output of the agent to match whatever that endpoint is expecting.

Thank you! My english is bad, so I do have a lot of problems learning. Thanks for the help.