Title: Error Message
Last modified: August 31, 2016

---

# Error Message

 *  Resolved [simconnection](https://wordpress.org/support/users/simconnection/)
 * (@simconnection)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-521/)
 * I am getting the below message when trying to publish to Apple News:
 * **“There has been an error with the API. Please make sure your API settings are
   correct and try again: INVALID_DOCUMENT, INVALID_DOCUMENT”**
 * It is only happening with some of my posts, but I am using the exact same layout
   for all, the posts that are not publishing, if I delete all the content from 
   the post, and then try publish, it works no hassle, but as soon as I add the 
   content back in, I get the error again.
 * I have tried deleting posts and starting again to no avail. I have been having
   the same issue with both new and old versions of wordpress.
 * I am using Origin Site Builder, but didn’t think it could be this as other posts
   work using this plugin, it’s just certain posts.
 * Any help would be greatly appreciated.
 * Thanks
 * [https://wordpress.org/plugins/publish-to-apple-news/](https://wordpress.org/plugins/publish-to-apple-news/)

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

 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-521/#post-7268972)
 * You’ll need to export the JSON file and use the News Preview tool ([https://developer.apple.com/news-preview/](https://developer.apple.com/news-preview/))
   to find the actual error. Let us know when you identify that.
 * Thanks.
 *  Thread Starter [simconnection](https://wordpress.org/support/users/simconnection/)
 * (@simconnection)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-521/#post-7268996)
 * I cant test it, i dont have a mac and they haven’t got a windows program.. I 
   get emails after I try to publish them, would that help?
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-521/#post-7268997)
 * Just send me the JSON and images for that post in a ZIP file and we’ll take a
   look.
 *  Thread Starter [simconnection](https://wordpress.org/support/users/simconnection/)
 * (@simconnection)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-521/#post-7269056)
 * Hi,
 * Thank you,
 * I have uploaded a zip to my site, you can download it here, I have attached the
   JSON and images that are in the article.
 * Thanks Again,
 * [http://simconnection.net/wp-content/uploads/2016/04/Test.zip](http://simconnection.net/wp-content/uploads/2016/04/Test.zip)
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-message-521/#post-7269094)
 * Am I correct that you’re using this plugin to build your pages?
 * [https://wordpress.org/plugins/siteorigin-panels/](https://wordpress.org/plugins/siteorigin-panels/)
 * I see some references to panels in the source of your page. It looks like the
   code that plugin generates is breaking the Apple News plugin’s ability to parse
   the HTML into Apple News format. If that’s the case, unfortunately we can’t offer
   any support for third party plugins that generate incompatible HTML.
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [10 years ago](https://wordpress.org/support/topic/error-message-521/#post-7269219)
 * Closing this issue since there has been no further response and it appears to
   be related to a third party plugin.
 *  [sheikhimran01](https://wordpress.org/support/users/sheikhimran01/)
 * (@sheikhimran01)
 * [10 years ago](https://wordpress.org/support/topic/error-message-521/#post-7269228)
 * Can you check my json code?
 * `{"version":"1.1","identifier":"post-18040","language":"en","title":"Drake & 
   Future On Summer Tour","documentStyle":{"backgroundColor":"#FFFFFF"},"layout":{"
   columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"title","
   text":"Drake & Future On Summer Tour","textStyle":"default-title"},{"role":"container","
   layout":"headerContainerLayout","style":{"fill":{"type":"image","URL":"bundle:\/\/
   unnamed-14.jpg","fillMode":"cover"}},"behavior":{"type":"background_parallax"}},{"
   role":"byline","text":"by Fariha | Apr 26, 2016 | 9:00 AM","textStyle":"default-
   byline","layout":"byline-layout"},{"role":"photo","URL":"bundle:\/\/image005.
   jpg","layout":"anchor-layout-right","anchor":{"targetComponentIdentifier":"component-
   571f9cdb694ac","targetAnchorPosition":"center","rangeStart":0,"rangeLength":1},"
   animation":{"type":"fade_in","userControllable":true,"initialAlpha":0}},{"role":"
   body","text":"Drake is going for a summer sixteen tour and we have the dates 
   for you!. He will be on tour with Future. Check out the dates below.\n\nYou can
   buy tickets [here](https:\/\/www.facebook.com\/Drake\/events\/). Make sure to
   catch them and then share with us your pictures, tweets and instagrams!","format":"
   markdown","textStyle":"dropcapBodyStyle","layout":"body-layout","identifier":"
   component-571f9cdb694ac"}],"componentTextStyles":{"dropcapBodyStyle":{"textAlignment":"
   left","fontName":"HelveticaNeue","fontSize":14,"lineHeight":24,"textColor":"#
   000","linkStyle":{"textColor":"#ff2a68"},"dropCapStyle":{"numberOfLines":2,"numberOfCharacters":
   1,"fontName":"Georgia-Bold","textColor":"#000"}},"default-body":{"textAlignment":"
   left","fontName":"HelveticaNeue","fontSize":14,"lineHeight":24,"textColor":"#
   000","linkStyle":{"textColor":"#ff2a68"}},"default-title":{"fontName":"HelveticaNeue-
   Bold","fontSize":48,"lineHeight":52,"textColor":"#000","textAlignment":"left"},"
   default-byline":{"textAlignment":"left","fontName":"HelveticaNeue-Medium","fontSize":
   14,"textColor":"797979"}},"componentLayouts":{"body-layout":{"columnStart":0,"
   columnSpan":5,"margin":{"top":25,"bottom":25}},"anchored-image":{"margin":{"top":
   25,"bottom":25}},"anchor-layout-right":{"columnStart":3,"columnSpan":4},"headerContainerLayout":{"
   columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true,"minimumHeight":"50vh","
   margin":{"top":0,"bottom":25}},"byline-layout":{"columnStart":0,"columnSpan":
   7,"margin":{"top":10,"bottom":10}}},"metadata":{"excerpt":"Drake is going for
   a summer sixteen tour and we have the dates for you!. He will be on tour with
   Future. Check out the dates below. You can buy tickets here. Make sure to catch
   them and then share with us your pictures, tweets and instagrams!","thumbnailURL":"
   bundle:\/\/unnamed-14.jpg","dateCreated":"2016-04-26T09:00:02+00:00","dateModified":"
   2016-04-25T19:43:18+00:00","datePublished":"2016-04-26T09:00:02+00:00","canonicalURL":"
   http:\/\/oneavenue.tv\/2016\/04\/26\/drake-future-summer-tour\/","generatorIdentifier":"
   publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"
   1.0.8"}}`

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

The topic ‘Error Message’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [sheikhimran01](https://wordpress.org/support/users/sheikhimran01/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/error-message-521/#post-7269228)
 * Status: resolved