JSON Error while trying to connect to WordPress and Post

I am having trouble connecting to WordPress still.

Error as below
Code - rest_invalid_json
Message - Invalid JSON body passed.
Data Json Error Message - Control character error, possibly incorrectly encoded
 

Supreme

Well-known member
Staff member
Hey @unoblogger

In the WordPress action step, you cannot pass the double quotes in the "Post Content" field. Otherwise, it will break the JSON structure in which the data gets sent to the application.

So as a solution, you can replace the double quotes with double single quotes with the help of the "Replace Text" action step.

1665136981401.png
 
Top