• Resolved shoottofilm

    (@shoottofilm)


    Hi there Mr. Potato Master,

    I have a publication set up with Apple News and was publishing my articles via rss feed. However, the articles were not appearing with the wordpress Featured Image picture.

    In searching for a solution I found your plug-in.

    I went into iCloud and under the NewsBeta app I deleted the RSS feed channel, grabbed the API keys and placed them in the plug-in.

    When I went to publish my first feed, this is the message I received:

    INVALID_DOCUMENT – “text” was “””” should be not (null or an empty string) (keyPath components->1->components->13->text)
    INVALID_DOCUMENT – no components defined for role=heading4 (keyPath components->1->components->13)

    Pardon my ignorance, if this is something I should have when setting up the plug-in, but can you please help me?

    The site is livinghealth.tv and the magazine inside Apple News is LIVING HEALTH Magazine.

    Thank you so much!
    – Sandra

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

    (@potatomaster)

    Can you please paste the JSON file for that post here as code?

    Thanks

    Thread Starter shoottofilm

    (@shoottofilm)

    I will do that after I figure out where the .json file is, but also just so you know, I got this when trying to publish today’s article:

    There has been an error with the API: INVALID_DOCUMENT – Resource with URI [bundle://Kombucha_3_Containers_SM.jpeg] not found. (keyPath metadata), INVALID_DOCUMENT – Resource with URI [bundle://Kombucha_3_Containers_SM.jpeg] not found. (keyPath components->0->components->0), INVALID_DOCUMENT – Resource with URI [bundle://Kombucha_sm.jpeg] not found. (keyPath components->1->components->18), INVALID_DOCUMENT – Resource with URI [bundle://kombucha_jessica-1024×1024.jpg] not found. (keyPath components->1->components->23)

    Thank you so much!!

    Does that help with anything?

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Yes, that indicates your images were not found. Trying turning on Use Remote Images in the plugin settings.

    You can get the JSON file by going to the Apple News list in your dashboard and clicking Download for the post in question.

    Thread Starter shoottofilm

    (@shoottofilm)

    Awesome. Thank you for your help.

    I turned on Use Remote Images (set it to Yes) and upon publishing, the first message I got was: Your article has been pushed successfully!The Apple News Status said PROCESSING and now it switched to LIVE. Yay! I see it in Apple News. 🙂 YES!!! A few font adjustments and we will be golden.

    Here is the .json file for that previous post. Is this what you need? Thanks again!

    {“version”:”1.1″,”identifier”:”post-2689″,”language”:”en”,”title”:”Stress Busters: Turn-Up the Heat\u2014Relieve the Stress”,”documentStyle”:{“backgroundColor”:”#fafafa”},”layout”:{“columns”:7,”width”:1024,”margin”:100,”gutter”:20},”components”:[{“role”:”header”,”layout”:”headerPhotoLayout”,”components”:[{“role”:”photo”,”layout”:”headerPhotoLayout”,”URL”:”bundle:\/\/is2lo.jpg”}],”behavior”:{“type”:”parallax”,”factor”:0.8}},{“role”:”container”,”layout”:{“columnStart”:0,”columnSpan”:7,”ignoreDocumentMargin”:true},”style”:{“backgroundColor”:”#fafafa”},”components”:[{“role”:”title”,”text”:”Stress Busters: Turn-Up the Heat\u2014Relieve the Stress”,”textStyle”:”default-title”,”layout”:”title-layout”},{“role”:”byline”,”text”:”by LIVING HEALTH | Oct 5, 2016 | 7:56 PM”,”textStyle”:”default-byline”,”layout”:”byline-layout”},{“role”:”heading4″,”text”:”An Innovative Alternative to Deal with Stress”,”format”:”markdown”,”textStyle”:”default-heading-4″,”layout”:”heading-layout”},{“role”:”container”,”layout”:”anchor-layout-right”,”style”:{“border”:{“all”:{“width”:”3″,”style”:”solid”,”color”:”#53585f”},”left”:false,”right”:false}},”components”:[{“role”:”quote”,”text”:”\u201cChronic stress has\u00a0turned our nervous system completely upside down,\u201d says mind-body and nutrition expert, Dr. Ginger.\u00a0www.drginger.com\n\n”,”format”:”markdown”,”layout”:”quote-layout”,”textStyle”:”default-pullquote”}],”textStyle”:”default-pullquote”,”anchor”:{“targetComponentIdentifier”:”component-3cdbe1bf174b6ff8dcc3c8d7775afede”,”originAnchorPosition”:”top”,”targetAnchorPosition”:”top”,”rangeStart”:0,”rangeLength”:10}},{“role”:”photo”,”URL”:”bundle:\/\/Dr.Ginger.jpg”,”layout”:”anchor-layout-right”,”anchor”:{“targetAnchorPosition”:”center”,”rangeStart”:0,”rangeLength”:1,”targetComponentIdentifier”:”component-938540051b9d5354dc5fd2f152279e81″}},{“role”:”body”,”text”:”_Dr. Ginger is founder and C.E.O. of Dr.Ginger, LLC., a wellness consulting company known for its unique approach to turning around disease in as little as 30 days and strategically taming escalating healthcare costs in both Corporate America and the private sector._”,”format”:”markdown”,”textStyle”:”dropcapBodyStyle”,”layout”:”body-layout”,”identifier”:”component-3cdbe1bf174b6ff8dcc3c8d7775afede”},{“role”:”body”,”text”:”You may not be a soldier in combat, but today we are all \u201clife warriors.\u201d We deal\u00a0with the stressors in our daily routine of financial difficulties, high-demanding jobs, overburdened schedules, and challenging relationships. \n\nAdditionally, the overload of technology\u2014cell phones, computers, tablets, TVs and video games\u2014contributes to our daily stress load and to modern disease.”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”,”identifier”:”component-938540051b9d5354dc5fd2f152279e81″},{“role”:”heading4″,”text”:”The Nervous System\u2019s Two\u00a0Responses\u00a0to Stress”,”format”:”markdown”,”textStyle”:”default-heading-4″,”layout”:”heading-layout”},{“role”:”body”,”text”:”\u201cAll these chronic stressors have turned our nervous system completely upside down,\u201d says mind-body and nutrition expert, Dr. Ginger. \u201cWhere we should have the parasympathetic nervous system\u2014the Rest and Digest side of the equation\u2014operating most of the time, we now have the sympathetic nervous system\u2014often called Fight or Flight\u2014operating throughout most of our day.\u201d\n\n\u201cFor many,\u201d Dr. Ginger continues, \u201cchronic stress and anxiety have become an accepted way of life, so much so that many modern-day diseases and syndromes such as heart disease, chronic fatigue, fibromyalgia, adrenal fatigue, depression and even cancer find their roots in this constant Fight or Flight sympathetic\u00a0stressed-out mode. Not at all what Nature intended.\u201d”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”},{“role”:”heading4″,”text”:”A Classic Example of Stress-Induced Ailment”,”format”:”markdown”,”textStyle”:”default-heading-4″,”layout”:”heading-layout”},{“role”:”body”,”text”:”Dr. Regina Young of St. Louis, Missouri, contracted Epstein-Barr virus from a work-mandated vaccine and this led to severe exhaustion, chronic fatigue and panic disorder. \n\nShe explains it this way, \u201cThe symptoms would subside until I was under a lot of stress, and then the virus would get reactivated. It led to systemic yeast, which affected my thyroid, which led to Hashimoto\u2019s Thyroiditis. I was so ill I became disabled and couldn\u2019t work anymore.\u201d\n\n\u201cEarlier this year,\u201d Dr. Young reveals, \u201cI purchased a Clearlight Infrared Sauna and I love it! I feel so much better from using the sauna that I am now planning to return to work in the months ahead. I no longer feel that hopeless exhaustion. The sauna has given me hope because I\u2019m getting real results.\u201d”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”},{“role”:”body”,”text”:”Dr. Young, along with\u00a0many others who suffer from a varied\u00a0health issues, has\u00a0found the sauna\u2019s deep-penetrating, soothing, infrared heat to balance her\u00a0nervous system. She discovered that the sauna promotes the \u201cRest and Relaxation\u201d state required for true healing and recovery.”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”,”identifier”:”component-8987a4e5b6023ca71e6fc67c6ec64a6d”},{“role”:”container”,”layout”:”anchor-layout-right”,”style”:{“border”:{“all”:{“width”:”3″,”style”:”solid”,”color”:”#53585f”},”left”:false,”right”:false}},”components”:[{“role”:”quote”,”text”:”With a heart-felt smile, Dr. Young added, \u201cMy infrared sauna is like a forklift; it lifts me up and infuses me with energy and well-being.\u201d\n\n”,”format”:”markdown”,”layout”:”quote-layout”,”textStyle”:”default-pullquote”}],”textStyle”:”default-pullquote”,”anchor”:{“targetComponentIdentifier”:”component-8987a4e5b6023ca71e6fc67c6ec64a6d”,”originAnchorPosition”:”top”,”targetAnchorPosition”:”top”,”rangeStart”:0,”rangeLength”:10}},{“role”:”heading4″,”text”:””,”format”:”markdown”,”textStyle”:”default-heading-4″,”layout”:”heading-layout”},{“role”:”photo”,”URL”:”bundle:\/\/IS-2-Front.jpg”,”layout”:”anchor-layout-right”,”anchor”:{“targetAnchorPosition”:”center”,”rangeStart”:0,”rangeLength”:1,”targetComponentIdentifier”:”component-08876c44b94f44760a8ed6768723506e”}},{“role”:”heading4″,”text”:”An Infrared Sauna Study on Stress”,”format”:”markdown”,”textStyle”:”default-heading-4″,”layout”:”heading-layout”},{“role”:”body”,”text”:”Exposure to thermal therapy produces\u00a0profound, stress-busting physiological effects. A Czechoslovakian study reported by Kaiser Permanente shows that taking a sauna for 30 minutes doubles the blood\u2019s beta-endorphin levels. As a consequence,\u00a0pain is reduced, inducing\u00a0a sense of euphoria, a well-being referred to as\u00a0\u201csauna-bather\u2019s high.\u201d”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”,”identifier”:”component-08876c44b94f44760a8ed6768723506e”},{“role”:”container”,”layout”:”anchor-layout-right”,”style”:{“border”:{“all”:{“width”:”3″,”style”:”solid”,”color”:”#53585f”},”left”:false,”right”:false}},”components”:[{“role”:”quote”,”text”:”\u201cChronic stress has turned our nervous system completely upside down,\u201d says mind-body and nutrition expert, Dr. Ginger, \u201cfrom parasympathetic to sympathetic.\u201d\n\n”,”format”:”markdown”,”layout”:”quote-layout”,”textStyle”:”default-pullquote”}],”textStyle”:”default-pullquote”,”anchor”:{“targetComponentIdentifier”:”component-a5abbb3686489a9c890a24dd03804f59″,”originAnchorPosition”:”top”,”targetAnchorPosition”:”top”,”rangeStart”:0,”rangeLength”:10}},{“role”:”body”,”text”:”The far infrared sauna heat has a great effect in pacifying the Fight or Flight response and in stimulating the nervous system\u2019s\u00a0Rest and Digest state to become dominant.\n\nIn order to\u00a0produce\u00a0such results, the far infrared sauna helps lower the blood pressure, relax the muscles and detoxify the body; yes with heat, but a comfortable, breathable, therapeutic heat that promotes unwinding calm. \n\nHeat therapy\u00a0also causes changes in the brain patterns, by\u00a0diminishing harmful stress hormones and increasing the powerful relaxation hormone, serotonin. Studies of brain waves\u00a0indicate\u00a0a deeper, more serene sleep.”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”,”identifier”:”component-a5abbb3686489a9c890a24dd03804f59″},{“role”:”heading4″,”text”:”Empowering You”,”format”:”markdown”,”textStyle”:”default-heading-4″,”layout”:”heading-layout”},{“role”:”body”,”text”:”Every year, millions of us spend small fortunes on treatments, products and doctor visits to help alleviate stress-related symptoms. At the same time, we scrimp and save to afford all-too-brief vacations.\n\nDuring such\u00a0vacations we hope to enjoy a few fleeting moments sharing a pool, beach or hot tub with travelers every bit as anxious as we are to escape the strains of our everyday lives. \n\nSome of us, like Dr. Young, have discovered a better, more permanent solution to daily deal with stress, aches and pains. A solution that stimulates the\u00a0parasympathetic nervous system but also satisfies our periodic need to \u201cget away from it all.\u201d A\u00a0Low-EMF, Far Infrared Sauna.”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”},{“role”:”heading4″,”text”:”Low-EMF, Far Infrared Sauna is a Powerful Solution to Stress”,”format”:”markdown”,”textStyle”:”default-heading-4″,”layout”:”heading-layout”},{“role”:”body”,”text”:”Less expensive than you might think, a far infra-red sauna is\u00a0an instant way to make an ordinary house feel like a vacation home. It is your\u00a0passport to greater health, better sleep, and many would say\u2014a longer, happier, stress-free life.\n\nThe specific brand that Dr. Regina Young purchased, Clearlight Saunas, comes in a variety of sizes and shapes, with true lifetime warranty. They\u00a0are an affordable investment in your health that can potentially save you thousands of dollars in medical bills in the long run.”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”},{“role”:”body”,”text”:”These saunas install easily in an hour and cost about 25\u00a2 per session to operate.”,”format”:”markdown”,”textStyle”:”default-body”,”layout”:”body-layout”,”identifier”:”component-7044d58cf091f4ff971dfbb861a4614e”},{“role”:”container”,”layout”:”anchor-layout-right”,”style”:{“border”:{“all”:{“width”:”3″,”style”:”solid”,”color”:”#53585f”},”left”:false,”right”:false}},”components”:[{“role”:”quote”,”text”:”\u201cThe best is that I can use my sauna in the privacy of my own home. I don\u2019t have to go anywhere or depend on anyone. I just turn it on, warm it up and say, \u2018Let the healing begin!\u2019\u201d\u2014Dr. Regina Young\n\n”,”format”:”markdown”,”layout”:”quote-layout”,”textStyle”:”default-pullquote”}],”textStyle”:”default-pullquote”,”anchor”:{“targetComponentIdentifier”:”component-7044d58cf091f4ff971dfbb861a4614e”,”originAnchorPosition”:”top”,”targetAnchorPosition”:”top”,”rangeStart”:0,”rangeLength”:10}}]}],”componentTextStyles”:{“default-heading-4”:{“fontName”:”AvenirNext-Bold”,”fontSize”:21,”lineHeight”:52,”textColor”:”#333333″,”textAlignment”:”left”},”default-pullquote”:{“fontName”:”AvenirNext-Bold”,”fontSize”:48,”textColor”:”#53585f”,”textTransform”:”uppercase”,”lineHeight”:48,”textAlignment”:”left”},”dropcapBodyStyle”:{“textAlignment”:”left”,”fontName”:”AvenirNext-Regular”,”fontSize”:18,”lineHeight”:24,”textColor”:”#4f4f4f”,”linkStyle”:{“textColor”:”#fb660a”},”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”:”#fb660a”},”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”:{“heading-layout”:{“columnStart”:0,”columnSpan”:7,”margin”:{“top”:15,”bottom”:15}},”quote-layout”:{“margin”:{“top”:12,”bottom”:12}},”anchored-image”:{“margin”:{“top”:25,”bottom”:25}},”body-layout”:{“columnStart”:0,”columnSpan”:5,”margin”:{“top”:12,”bottom”:12}},”body-layout-last”:{“columnStart”:0,”columnSpan”:5,”margin”:{“top”:12,”bottom”:30}},”anchor-layout-right”:{“columnStart”:3,”columnSpan”:4},”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”:”An Innovative Alternative to Deal with Stress \u201cChronic stress has\u00a0turned our nervous system completely upside down,\u201d says mind-body and nutrition expert, Dr. Ginger.\u00a0www.drginger.com Dr. Ginger is founder and C.E.O. of Dr.Ginger, LLC., a wellness consulting company known for its unique approach to turning around disease in as little as 30 days and strategically taming escalating…”,”thumbnailURL”:”bundle:\/\/is2lo.jpg”,”dateCreated”:”2016-10-05T19:56:37+00:00″,”dateModified”:”2016-10-05T19:56:37+00:00″,”datePublished”:”2016-10-05T19:56:37+00:00″,”canonicalURL”:”http:\/\/livinghealth.tv\/stress-busters-turn-heat-relieve-stress\/”,”generatorIdentifier”:”publish-to-apple-news”,”generatorName”:”Publish to Apple News”,”generatorVersion”:”1.1.8″},”advertisingSettings”:{“frequency”:1,”layout”:{“margin”:{“top”:15,”bottom”:15}}}}

    Hello, I’m trying to debug an article and received the following errors. Any insight on how to resolve?

    Error: "text" was "" should be not (null or an empty string)
    components -> 1 -> components -> 21 -> text
    
    Error: no components defined for role=heading5
    components -> 1 -> components -> 21
    
    Error: "text" was "" should be not (null or an empty string)
    components -> 1 -> components -> 28 -> text
    
    Error: no components defined for role=heading6
    components -> 1 -> components -> 28
    

    Thank you!

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    This issue has been marked resolved, so please open a new issue if you need support.

    It will be easiest for us to help you if you can provide the JSON file for this post via pastebin.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘INVALID_DOCUMENT – “text” was “””” should be not (null or an empty string)’ is closed to new replies.