Same issue. Your web host is returning a 403 response code for all of the images. Unfortunately, this isn’t something we can resolve.
For the latest JSON I sent above I removed the images and the story still errors out.
Can you please repost the exact JSON, without the images, that you’re referencing?
When you say the “story errors out” what error message are you getting?
Please be as specific as possible when asking for help. It will make this go quicker.
Thanks.
The same four *invalid document* errors come up even with all the images removed….The story is live on the site with the images (inserted via WordPress), but the JSON below was generated with only a new featured image.
This is the only story I’m having trouble with now. Everything else is working perfectly.
[ redacted ]
This article still includes a thumbnail, which your web host is returning a 403 for.
Good evening, Bradford.
The June 3 story is now resolved, which means all outstanding issues are resolved. This story had hard <p></p> tags at each paragraph.
Additionally one URL – not an image – a link – was two sentences and a paragraph was entered, with the second line having the closing </a> tag and no closing tag on the first line.
Removing the P tags and making the link one sentence with the closing tag properly located solved the issue.
While working another post that also threw invalid document errors at first (now corrected and no longer an issue), I discovered the following:
- A story should not begin with a subhead such as
H2 or H3
- Apple News does not like WordPress captioned images.
- YouTube oEmbeds should be the new short URL format.
Captioned images and the old style YouTube URLs will throw invalid document errors.
Returning to this post – the same featured image you said threw a 403 is in the corrected live post on Apple News.
Thank you for taking the time to work with me on this and lead me to ultimately resolve it.
Here is the JSON for the story in its correct published state:
[ Five hundred and eighty eight lines redacted ]
Glad this worked out for you.