• Resolved bledsoeutkedu

    (@bledsoeutkedu)


    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
    [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
    )

    )

    [isPreview] =>
    )

    )

Viewing 1 replies (of 1 total)
  • Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    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.