I am using Anthropic AI to create a post and post it to WordPress, and i am getting an invalid JSON error.

Code= rest_invalid_json
Message= Invalid JSON body passed.
Data Status= 400
Data Json Error Code= 3
Data Json Error Message= Control character error, possibly incorrectly encoded


What should I do?
 

ArshilAhmad

Well-known member
Staff member
Hi @somnath123,

Please try replacing the double quotes in your Content with single quotes and map that to WordPress and see if that fixes the issue for you.
1711129113457.png


 
Top