• Resolved agk4444

    (@agk4444)


    Started having issues with any post that has images in it. I tired with both remote images options yes and no. Still the images are not getting uploaded to apple and thus failing the article to publish and look like this is happening with new images. If we use a existing image it is having no issues.

    Here is a sample error
    There has been an error with the API: INVALID_DOCUMENT - Resource with URI [bundle://rana-daggubati-dubbing-for-tom-hanks-gallery1.jpg] not found. (keyPath metadata), INVALID_DOCUMENT - Resource with URI [bundle://rana-daggubati-dubbing-for-tom-hanks-gallery1.jpg] not found. (keyPath components->1->components->0), INVALID_DOCUMENT - Resource with URI [bundle://rana-daggubati-dubbing-for-tom-hanks-gallery1.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://rana-daggubati-dubbing-for-tom-hanks-gallery2.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://rana-daggubati-dubbing-for-tom-hanks-gallery3.jpg] not found. (keyPath components->2->components->1)

    Here is the json
    {"version":"1.1","identifier":"post-436727","language":"en","title":"Rana Daggubati Dubbing for Tom Hanks Gallery","documentStyle":{"backgroundColor":"#fafafa"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"title","text":"Rana Daggubati Dubbing for Tom Hanks Gallery","textStyle":"default-title","layout":"title-layout"},{"role":"header","layout":"headerBelowTextPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"bundle:\/\/rana-daggubati-dubbing-for-tom-hanks-gallery1.jpg"}],"behavior":{"type":"parallax","factor":0.8}},{"role":"container","layout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#fafafa"},"components":[{"role":"byline","text":"by Sandeepa Adusumilli | Oct 7, 2016 | 4:45 AM","textStyle":"default-byline","layout":"byline-layout"},{"role":"mosaic","items":[{"URL":"bundle:\/\/rana-daggubati-dubbing-for-tom-hanks-gallery.jpg"},{"URL":"bundle:\/\/rana-daggubati-dubbing-for-tom-hanks-gallery1.jpg"},{"URL":"bundle:\/\/rana-daggubati-dubbing-for-tom-hanks-gallery2.jpg"},{"URL":"bundle:\/\/rana-daggubati-dubbing-for-tom-hanks-gallery3.jpg"}],"layout":"gallery-layout"}]}],"componentTextStyles":{"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"textColor":"#000000","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":17,"textColor":"#53585f"}},"componentLayouts":{"gallery-layout":{"columnStart":0,"columnSpan":7,"margin":{"top":25,"bottom":25}},"title-layout":{"margin":{"top":30,"bottom":0}},"headerPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true},"headerBelowTextPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true,"margin":{"top":30,"bottom":0}},"byline-layout":{"columnStart":0,"columnSpan":7,"margin":{"top":10,"bottom":10}}},"metadata":{"thumbnailURL":"bundle:\/\/rana-daggubati-dubbing-for-tom-hanks-gallery1.jpg","dateCreated":"2016-10-07T08:45:36+00:00","dateModified":"2016-10-07T09:04:02+00:00","datePublished":"2016-10-07T08:45:36+00:00","canonicalURL":"https:\/\/www.socialnews.xyz\/2016\/10\/07\/rana-daggubati-dubbing-tom-hanks-gallery\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.1.8"},"advertisingSettings":{"frequency":10,"layout":{"margin":{"top":15,"bottom":15}}}}

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter agk4444

    (@agk4444)

    On Further testing it looks like it is not uploading any images to apple news.

    • This reply was modified 8 years, 1 month ago by agk4444.
    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    We’re looking into this. There have been other reports of the same issue by other users.

    Suffering from the same issue since yesterday PM. Submissions coming back with the error below. Relevant images available on the URL given and json also validates, (post renders fine in Apple news if json downloaded). If you require anymore info let me know.

    [body] => {"errors":[{"code":"INVALID_DOCUMENT","keyPath":[],"value":"https://www.luxurytraveldiary.com/wp-content/uploads/2016/10/airbus-a330neo-airspace-business-economy-review.jpg","message":"Unable to read uri [https://www.luxurytraveldiary.com/wp-content/uploads/2016/10/airbus-a330neo-airspace-business-economy-review.jpg]"}]}

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    We’re aware of the issue. It appears to be on the Apple News side at this time and it’s being looked into.

    Concur, publishing with Apple’s gem produces the same error.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Yes, we tested that as well. We’ll update this thread as soon as we know anything further.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Can you paste the request and response you sent and received via the gem here as code? Please remove anything sensitive of course like your API keys, channel ID, etc. It may help us troubleshoot.

    Thanks!

    Sorry for the late reply. Just tried the gem and the article successfully published. json response below, (papi-client article publish ~/news_test):

    {
      "data": {
        "createdAt": "2016-10-08T11:05:17Z",
        "modifiedAt": "2016-10-08T11:05:17Z",
        "type": "article",
        },
        "document": {
          "version": "1.1",
          "identifier": "post-26861",
          "language": "en",
          "title": "Airbus A330neo Airspace Business Class Review",
          "documentStyle": {
            "backgroundColor": "#FAFAFA"
          },
          "layout": {
            "columns": 7,
            "width": 1024,
            "margin": 100,
            "gutter": 20
          },
          "components": [
            {
              "role": "header",
              "layout": "headerPhotoLayout",
              "components": [
                {
                  "role": "photo",
                  "layout": "headerPhotoLayout",
                  "URL": "https://www.luxurytraveldiary.com/wp-content/uploads/2016/10/airbus-a330neo-airspace-business-economy-review.jpg"
                }
              ],
              "behavior": {
                "type": "parallax",
                "factor": 0.8
              }
            },
            {
              "role": "container",
              "layout": {
                "columnStart": 0,
                "columnSpan": 7,
                "ignoreDocumentMargin": true
              },
              "style": {
                "backgroundColor": "#FAFAFA"
              },
              "components": [
                {
                  "role": "title",
                  "text": "Airbus A330neo Airspace Business Class Review",
                  "textStyle": "default-title",
                  "layout": "title-layout"
                },
                {
                  "role": "byline",
                  "text": "by Yasmin | Oct 7, 2016 | 4:09 PM",
                  "textStyle": "default-byline",
                  "layout": "byline-layout"
                },
                {
                  "role": "body",
                  "text": "Airbus recently shared photos of it’s new Airspace cabin on it’s A330neo aircraft. In this review I look at the Economy, Premium Economy and Business Class offering in this new and improved Airspace cabin.\n\nAirbus’ next-generation of A330neo was first announced at the Farnborough Air Show in 2014. Neo stands for New Engine Option, and the A330neo represents a great improvement in fuel efficiency; supposedly by 14%, which is of course better in terms of fuel costs and the environment\n\nThe A330neo will ship with Airbus’ new Airspace cabin, an improvement on the already high tech cabin on the A350. Airbus says it’s cabin is 50% quieter than the Dreamliner, there are germ-fighting agents in the toilets, there is more storage, there is extraordinary LED accent lighting plus these new planes will offer latest in in-flight entertainment.\n\n**Business Class In The Airbus A330neo Airspace Cabin** \n\nAirbus has achieved the feeling of space within the cabin with a combination of lighting effects and higher ceilings. This is relevant in the Economy, Premium Economy and Business Class cabins. The A330neo also has a completely new luggage bin design throughout the plane, which enables it to accommodate 66% more carry-on bags.\n\nIn Business Class, Airbus arranged its concept plane with a 1-2-1 configuration. It is likely that the airlines will follow this suggestion. Each airline will then use their own seat design within the cabin.\n\nLaunch partner TAP will use a seat from Recaro called the CL6710. This is a staggered lie-flat seat which is a great improvement on the airline’s current angle-flat Business Class seat. \n\n**Premium Economy In The Airbus A330neo Airspace Cabin** \n\nNot all A330neos will offer Premium Economy but they look to be much like the [Norwegian Premium seats which I have reviewed](https://www.luxurytraveldiary.com/2016/09/norwegian-airlines-boeing-787-dreamliner-premium-economy-review/). the expected arrangement is a 2-3-2 configuration\n\n**Economy In The Airbus A330neo Airspace Cabin** \n\nAn 18-inch Economy seat width is the offering in economy, but the lighting, quiet cabin and storage solutions makes economy on the A330neo a better experience than on current planes.\n\nAnother noteworthy feature is that the toilets will have mood lighting, anti-bacterial surfaces, an aroma dispenser and touchless controls on the toilet, sink and rubbish bin.\n\nThe A330neo launch partner is TAP Portugal, which currently operates a fleet of older A330s on long-haul routes. Other Airlines with the A330neo on order include [Delta Air Lines](https://www.luxurytraveldiary.com/tag/delta-air-lines/), Garuda and Hawaiian Airlines.\n\nIf you enjoyed this review you may be interested in my other [airline reviews](https://www.luxurytraveldiary.com/category/transport/airlines/) and [airport lounge reviews](https://www.luxurytraveldiary.com/category/transport/airport-lounges/).\n\n[Airbus A330neo Airspace](https://airspace.airbus.com/a330-neo/)",
                  "format": "markdown",
                  "textStyle": "dropcapBodyStyle",
                  "layout": "body-layout-last"
                }
              ]
            }
          ],
          "componentTextStyles": {
            "dropcapBodyStyle": {
              "textAlignment": "left",
              "fontName": "AvenirNext-Regular",
              "fontSize": 18,
              "lineHeight": 24,
              "textColor": "#4f4f4f",
              "linkStyle": {
                "textColor": "#428BCA"
              },
              "paragraphSpacingBefore": 18,
              "paragraphSpacingAfter": 18,
              "dropCapStyle": {
                "numberOfLines": 4,
                "numberOfCharacters": 1,
                "padding": 5,
                "fontName": "AvenirNext-Bold",
                "textColor": "#4f4f4f"
              }
            },
            "default-body": {
              "textAlignment": "left",
              "fontName": "AvenirNext-Regular",
              "fontSize": 18,
              "lineHeight": 24,
              "textColor": "#4f4f4f",
              "linkStyle": {
                "textColor": "#428BCA"
              },
              "paragraphSpacingBefore": 18,
              "paragraphSpacingAfter": 18
            },
            "default-title": {
              "fontName": "AvenirNext-Bold",
              "fontSize": 48,
              "lineHeight": 52,
              "textColor": "#333333",
              "textAlignment": "left"
            },
            "default-byline": {
              "textAlignment": "left",
              "fontName": "AvenirNext-Medium",
              "fontSize": 13,
              "textColor": "#7c7c7c"
            }
          },
          "componentLayouts": {
            "body-layout": {
              "columnStart": 0,
              "columnSpan": 5,
              "margin": {
                "top": 12,
                "bottom": 12
              }
            },
            "body-layout-last": {
              "columnStart": 0,
              "columnSpan": 5,
              "margin": {
                "top": 12,
                "bottom": 30
              }
            },
            "headerPhotoLayout": {
              "columnStart": 0,
              "columnSpan": 7,
              "ignoreDocumentMargin": true
            },
            "headerBelowTextPhotoLayout": {
              "columnStart": 0,
              "columnSpan": 7,
              "ignoreDocumentMargin": true,
              "margin": {
                "top": 30,
                "bottom": 0
              }
            },
            "title-layout": {
              "margin": {
                "top": 30,
                "bottom": 0
              }
            },
            "byline-layout": {
              "columnStart": 0,
              "columnSpan": 7,
              "margin": {
                "top": 10,
                "bottom": 10
              }
            }
          },
          "metadata": {
            "excerpt": "Airbus recently shared photos of it's new Airspace cabin on it's A330neo aircraft. In this review I look at the Economy, Premium Economy and Business Class offering in this new and improved Airspace cabin. Airbus' next-generation of A330neo was first announced at the Farnborough Air Show in 2014. Neo stands for New Engine Option, and...",
            "thumbnailURL": "https://www.luxurytraveldiary.com/wp-content/uploads/2016/10/airbus-a330neo-airspace-business-economy-review.jpg",
            "dateCreated": "2016-10-07T15:09:46+01:00",
            "dateModified": "2016-10-07T15:16:02+01:00",
            "datePublished": "2016-10-07T15:09:46+01:00",
            "canonicalURL": "https://www.luxurytraveldiary.com/2016/10/airbus-a330neo-airspace-business-class-review/",
            "generatorIdentifier": "publish-to-apple-news",
            "generatorName": "Publish to Apple News",
            "generatorVersion": "1.1.8"
          },
          "advertisingSettings": {
            "frequency": 1,
            "layout": {
              "margin": {
                "top": 15,
                "bottom": 15
              }
            }
          }
        },
        "revision": "AAAAAAAAAAD//////////w==",
        "state": "PROCESSING",
        "accessoryText": null,
        "title": "Airbus A330neo Airspace Business Class Review",
        "maturityRating": null,
        "warnings": [
    
        ],
        "isCandidateToBeFeatured": false,
        "isSponsored": false,
        "isPreview": false,
        "isDevelopingStory": false
      }
    }
    • This reply was modified 8 years, 1 month ago by luxurytraveldiary. Reason: Can't spell

    Plugin now publishing too ??

    • This reply was modified 8 years, 1 month ago by luxurytraveldiary. Reason: still can't spell
    Thread Starter agk4444

    (@agk4444)

    The plugin is still having the same issue with multiple images in the post or if image in the post is different from the featured image.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Can you confirm if this issue is still occurring for you?

    Thread Starter agk4444

    (@agk4444)

    Yes, it is still happening on multiple image post or posts that have different featured image.

    Here is the error
    There has been an error with the API: INVALID_DOCUMENT - Resource with URI [bundle://8935654f2e1fc655c596dfd96ce54dde.jpg] not found. (keyPath metadata), INVALID_DOCUMENT - Resource with URI [bundle://8935654f2e1fc655c596dfd96ce54dde.jpg] not found. (keyPath components->1->components->0), INVALID_DOCUMENT - Resource with URI [bundle://8935654f2e1fc655c596dfd96ce54dde.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://71d67e5ee7b0b58f944594e582065702.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://23958b4cd8812e6df24b58aa5d0cd71a.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://a1db42d5a9ec5774f9e64365f8a3251e.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://83ae52169ed3ce29584b15d60058e94f.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://94c7e55bb4688cae4696861f79f23dfb.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://ff05d1da65c886c069fe07aab51018d2.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://440a9d672c93658e6460152224b21280.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://0fbb63bf0fb46f835c8663263cec2a56.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://095b3f397d421421803d789395153d4d.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://75054eae6018655d4eb49afb96d58df8.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://0b010bb15dcbda1d078c88b8e49bc6b5.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://9ce34ad3d01a64bfcd9030158dd69649.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://c55e321e8fcec6c401e043ac909e1a48.jpg] not found. (keyPath components->2->components->1), INVALID_DOCUMENT - Resource with URI [bundle://34ae9901f2a8215f9799e276cf90c964.jpg] not found. (keyPath components->2->components->1)

    Here is the JSON

    {"version":"1.1","identifier":"post-439931","language":"en","title":"Mumbai: 7th Outlook Business Outstanding Women Awards","documentStyle":{"backgroundColor":"#fafafa"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"title","text":"Mumbai: 7th Outlook Business Outstanding Women Awards","textStyle":"default-title","layout":"title-layout"},{"role":"header","layout":"headerBelowTextPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"bundle:\/\/8935654f2e1fc655c596dfd96ce54dde.jpg"}],"behavior":{"type":"parallax","factor":0.8}},{"role":"container","layout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#fafafa"},"components":[{"role":"byline","text":"by Sandeepa Adusumilli | Oct 8, 2016 | 12:58 PM","textStyle":"default-byline","layout":"byline-layout"},{"role":"mosaic","items":[{"URL":"bundle:\/\/7a4323453cc37237599d377458fa9063.jpg"},{"URL":"bundle:\/\/8935654f2e1fc655c596dfd96ce54dde.jpg"},{"URL":"bundle:\/\/71d67e5ee7b0b58f944594e582065702.jpg"},{"URL":"bundle:\/\/23958b4cd8812e6df24b58aa5d0cd71a.jpg"},{"URL":"bundle:\/\/a1db42d5a9ec5774f9e64365f8a3251e.jpg"},{"URL":"bundle:\/\/83ae52169ed3ce29584b15d60058e94f.jpg"},{"URL":"bundle:\/\/94c7e55bb4688cae4696861f79f23dfb.jpg"},{"URL":"bundle:\/\/ff05d1da65c886c069fe07aab51018d2.jpg"},{"URL":"bundle:\/\/440a9d672c93658e6460152224b21280.jpg"},{"URL":"bundle:\/\/0fbb63bf0fb46f835c8663263cec2a56.jpg"},{"URL":"bundle:\/\/095b3f397d421421803d789395153d4d.jpg"},{"URL":"bundle:\/\/75054eae6018655d4eb49afb96d58df8.jpg"},{"URL":"bundle:\/\/0b010bb15dcbda1d078c88b8e49bc6b5.jpg"},{"URL":"bundle:\/\/9ce34ad3d01a64bfcd9030158dd69649.jpg"},{"URL":"bundle:\/\/c55e321e8fcec6c401e043ac909e1a48.jpg"},{"URL":"bundle:\/\/34ae9901f2a8215f9799e276cf90c964.jpg"}],"layout":"gallery-layout"}]}],"componentTextStyles":{"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"textColor":"#000000","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":17,"textColor":"#53585f"}},"componentLayouts":{"gallery-layout":{"columnStart":0,"columnSpan":7,"margin":{"top":25,"bottom":25}},"title-layout":{"margin":{"top":30,"bottom":0}},"headerPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true},"headerBelowTextPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true,"margin":{"top":30,"bottom":0}},"byline-layout":{"columnStart":0,"columnSpan":7,"margin":{"top":10,"bottom":10}}},"metadata":{"thumbnailURL":"bundle:\/\/8935654f2e1fc655c596dfd96ce54dde.jpg","dateCreated":"2016-10-08T16:58:32+00:00","dateModified":"2016-10-08T16:58:32+00:00","datePublished":"2016-10-08T16:58:32+00:00","canonicalURL":"https:\/\/www.socialnews.xyz\/2016\/10\/08\/mumbai-7th-outlook-business-outstanding-women-awards\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.1.8"},"advertisingSettings":{"frequency":10,"layout":{"margin":{"top":15,"bottom":15}}}}
    `

    • This reply was modified 8 years, 1 month ago by agk4444.

    I thought it was just happening to me. It started yesterday and today nearly every post is throwing this error. Mainly it’s ones that have more than one image in it also.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    We are aware of the issue. It appears to have been caused by an update to the Apple News API last week. We are investigating a solution.

    In the meantime, if switch to using remote images in the plugin settings, it should start working for you again.

    wow, that did it! Thanks so much.

    Trying to keep up with Apple News, Google AMP and Facebook Articles is def. quite the job now:)

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘INVALID_DOCUMENT – Resource with URI [bundle://imagefile) not found.’ is closed to new replies.