Post to WP failed: JSON error

1. The problem

Error: “JSON API Error pages is not iterable” when posting to WP

So I went through the article … and I noticed that the spintax is not being processed after the article creator is done. See here:

{<img class='aligncenter' style='display: block;margin-left:auto;margin-right:auto;' width="{600|601|602|603|604|605|606|607|608|609}px" alt="Is french dressing healthy" 

As you can see, there is still unprocessed spintax. So my first guess was that JSON was erroring out due to the extra sets of curly brackets.

So I removed all of them and structured the HTML correctly. However, even after fixing the HTML … the same JSON error still happened again.

2. Screenshot or task log of the problem

UNPROCESSED SPINTAX SCREENSHOT

ERROR SCREENSHOT

Its normal for spintax to still be in source article, as it gets resolved before posting.

Can you send me that file though? maybe it has spintax errors in it.

I will double check

I think this is a WP specific error as I was able to upload a test post to my blog that has spintax in it.

It maybe plugin related or not.

3 posts were split to a new topic: JSON API unable to post error, cannot read properties of null (reading length)