Title: 1.1.2 Problem : INVALID_DOCUMENT
Last modified: August 31, 2016

---

# 1.1.2 Problem : INVALID_DOCUMENT

 *  Resolved [tavalex](https://wordpress.org/support/users/tavalex/)
 * (@tavalex)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/112-problem-invalid_document/)
 * Hi,
 * I’m still having issues after updating to the latest version of the plugin.
    
   I use the new “Remote Images” setting.
 * The json file debugs fine in the New Preview tool, but :
 * **I get an error message in the wp-admin :**
    `There has been an error with the
   API. Please make sure your API settings are correct and try again: INVALID_DOCUMENT`
 * **and the following debugging paragraph via email :**
    `[body] => {"errors":[{"
   code":"INVALID_DOCUMENT","keyPath":["root","metadata","thumbnailURL"],"message":"
   Unable to determine mime type of URL [http://www.messynessychic.com/wp-content/
   uploads/2016/05/streetcar-1.jpg]"}]}`
 * Any help on solving this issue would be greatly appreciated.
 * Thanks in advance,
    Alexandre
 * [https://wordpress.org/plugins/publish-to-apple-news/](https://wordpress.org/plugins/publish-to-apple-news/)

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/112-problem-invalid_document/?output_format=md)
[1](https://wordpress.org/support/topic/112-problem-invalid_document/?output_format=md)
2

 *  Thread Starter [tavalex](https://wordpress.org/support/users/tavalex/)
 * (@tavalex)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/112-problem-invalid_document/page/2/#post-7388647)
 * Hi Bradford,
 * Thanks for the update!
    Just tested the new version in the exact same conditions
   and getting the exact same error.
 * The news preview tool displays the article well, but I’m getting the same error
   message in wp-admin :
    `There has been an error with the API. Please make sure
   your API settings are correct and try again: INVALID_DOCUMENT`
 * And the same error via the email debugging :
    [https://s3.amazonaws.com/files.messynessychic.com/email-error.txt](https://s3.amazonaws.com/files.messynessychic.com/email-error.txt)
 * Hope apple news support of chunked transfer will solve it for all of us who have
   this issue.
 * Thanks for your help, let me know if you have updates !
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/112-problem-invalid_document/page/2/#post-7388661)
 * Can you please try to re-enable remote images and see if this fixes your issue?
   The Apple News API now supports chunked transfer encoding.
 * Thanks!

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/112-problem-invalid_document/?output_format=md)
[1](https://wordpress.org/support/topic/112-problem-invalid_document/?output_format=md)
2

The topic ‘1.1.2 Problem : 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/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [Apple News](https://wordpress.org/support/topic-tag/apple-news/)

 * 17 replies
 * 4 participants
 * Last reply from: [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/112-problem-invalid_document/page/2/#post-7388661)
 * Status: resolved