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

Status: Open · Asked by somnath123 on · 0 views

somnath123 — Question ·

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?

Arshil Ahmad — Reply ·

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.

youtube.com/watch?v=oFvzL6iaDAI

Back to all forum threads · Log in to reply