Title: API Error
Last modified: October 18, 2016

---

# API Error

 *  Resolved [bledsoeutkedu](https://wordpress.org/support/users/bledsoeutkedu/)
 * (@bledsoeutkedu)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/api-error-22/)
 * We are fairly consistently getting warnings about an API error and our posts 
   are not publishing to Apple News. Below is the debug report for one of them.
 * Array
    ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:
   protected] => Array ( [date] => Tue, 18 Oct 2016 18:42:50 GMT [request-id] =>
   65d65aa0-8f23-478f-b8a1-64ed43672af4 [content-type] => application/json; charset
   =UTF-8 [content-length] => 138 )
 *  )
 *  [body] => {“errors”:[{“code”:”INVALID_DOCUMENT”,”keyPath”:[“components”,4],”
   message”:”Resource with URI [bundle://LMlogo-200×200.jpg] not found.”}]}
    [response]
   => Array ( [code] => 400 [message] => Bad Request )
 *  [cookies] => Array
    ( )
 *  [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object ( [response:
   protected] => Requests_Response Object ( [body] => {"errors":[{"code":"INVALID_DOCUMENT","
   keyPath":["components",4],"message":"Resource with URI [bundle://LMlogo-200x200.
   jpg] not found."}]} [raw] => HTTP/1.1 400 Bad Request Date: Tue, 18 Oct 2016 
   18:42:50 GMT Request-Id: 65d65aa0-8f23-478f-b8a1-64ed43672af4 Content-Type: application/
   json; charset=UTF-8 Content-Length: 138
 * {"errors":[{"code":"INVALID_DOCUMENT","keyPath":["components",4],"message":"Resource
   with URI [bundle://LMlogo-200x200.jpg] not found."}]}
    [headers] => Requests_Response_Headers
   Object ( [data:protected] => Array ( [date] => Array ( [0] => Tue, 18 Oct 2016
   18:42:50 GMT )
 *  [request-id] => Array
    ( [0] => 65d65aa0-8f23-478f-b8a1-64ed43672af4 )
 *  [content-type] => Array
    ( [0] => application/json; charset=UTF-8 )
 *  [content-length] => Array
    ( [0] => 138 )
 *  )
 *  )
 *  [status_code] => 400
    [protocol_version] => 1.1 [success] => [redirects] => 
   0 [url] => [https://u48r14.digitalhub.com/channels/306d8f2b-fd8b-44fb-a47d-4afdee137fff/articles](https://u48r14.digitalhub.com/channels/306d8f2b-fd8b-44fb-a47d-4afdee137fff/articles)[
   history] => Array ( )
 *  [cookies] => Requests_Cookie_Jar Object
    ( [cookies:protected] => Array ( )
 *  )
 *  )
 *  [filename:protected] =>
    [data] => [headers] => [status] => )
 * )
 * request meta:
 * Array
    ( [data] => Array ( [links] => Array ( [section] => Array ( [0] => [https://u48r14.digitalhub.com/sections/089db675-e9d5-3d9b-a35e-d134d2d9fcb4](https://u48r14.digitalhub.com/sections/089db675-e9d5-3d9b-a35e-d134d2d9fcb4))
 *  )
 *  [isPreview] =>
    )
 * )

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/api-error-22/#post-8324993)
 * Please try enabling remote images in the plugin settings and see if this issue
   persists for you. It appears your host is having trouble bundling the images 
   locally into your request.

Viewing 1 replies (of 1 total)

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

 * 1 reply
 * 2 participants
 * Last reply from: [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/api-error-22/#post-8324993)
 * Status: resolved