Title: INVALID_DOCUMENT
Last modified: May 9, 2017

---

# INVALID_DOCUMENT

 *  Resolved [cmcrew](https://wordpress.org/support/users/cmcrew/)
 * (@cmcrew)
 * [9 years ago](https://wordpress.org/support/topic/invalid_document-2/)
 * This error came up today while trying to publish this wordpress post to apple
   news.
    [http://dailyburn.com/life/recipes/healthy-beet-recipes/](http://dailyburn.com/life/recipes/healthy-beet-recipes/)
   Other articles are still publishing successfully.
 * There has been an error with the API:
    INVALID_DOCUMENT – “text” was “” should
   be not (null or an empty string) (keyPath components->1->components->38->text)
   INVALID_DOCUMENT – no components defined for role=heading3 (keyPath components-
   >1->components->38)
 * JSON: [https://pastebin.com/8KfRAtuY](https://pastebin.com/8KfRAtuY)
    HTML/TEXT:
   [https://pastebin.com/Ddcn2bNn](https://pastebin.com/Ddcn2bNn)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Kevin Fodness](https://wordpress.org/support/users/kevinfodness/)
 * (@kevinfodness)
 * [9 years ago](https://wordpress.org/support/topic/invalid_document-2/#post-9122000)
 * Hi [@cmcrew](https://wordpress.org/support/users/cmcrew/)—
 * Looks like you’re running into this issue: [https://github.com/alleyinteractive/apple-news/issues/320](https://github.com/alleyinteractive/apple-news/issues/320)
 * Can you go through the Text tab in the editor and ensure that you don’t have `
   img` tags wrapped in heading tags and try again?
 *  Thread Starter [cmcrew](https://wordpress.org/support/users/cmcrew/)
 * (@cmcrew)
 * [9 years ago](https://wordpress.org/support/topic/invalid_document-2/#post-9123218)
 * Aha – thanks! There were indeed  tags that somehow ended up inside <h3>s. I’ll
   remove them and try again.
 *  Thread Starter [cmcrew](https://wordpress.org/support/users/cmcrew/)
 * (@cmcrew)
 * [9 years ago](https://wordpress.org/support/topic/invalid_document-2/#post-9125744)
 * Published successfully. Thanks.
 *  Thread Starter [cmcrew](https://wordpress.org/support/users/cmcrew/)
 * (@cmcrew)
 * [9 years ago](https://wordpress.org/support/topic/invalid_document-2/#post-9126440)
 * Resolved

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘INVALID_DOCUMENT’ is closed to new replies.

 * ![](https://ps.w.org/publish-to-apple-news/assets/icon-256x256.png?rev=3017580)
 * [Publish To Apple News](https://wordpress.org/plugins/publish-to-apple-news/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/publish-to-apple-news/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/publish-to-apple-news/)
 * [Active Topics](https://wordpress.org/support/plugin/publish-to-apple-news/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/publish-to-apple-news/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/publish-to-apple-news/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [cmcrew](https://wordpress.org/support/users/cmcrew/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/invalid_document-2/#post-9126440)
 * Status: resolved