Post Fine in Preview Fails t Publish
-
We had another post that looks fine in news Preview but fails to publish.
We get this message in WordPress:
There has been an error with the API:
INVALID_DOCUMENT – “URL” was “” should be valid URL with one of [“bundle”
“http”
“https”] scheme(s) (keyPath components->2->components->4->URL)
INVALID_DOCUMENT – “URL” was “” should be valid URL with one of [“bundle”
“http”
“https”] scheme(s) (keyPath components->2->components->11->URL)But when I test the JSON file it opens perfectly.
Any suggestions on fixing this?
-
Can you please send me the JSON and the post content (from the Text tab) via a pastebin.com link? I’ll use that information to attempt to reproduce locally.
Thanks.
This is the link: https://pastebin.com/nWXBpjWf
Thanks for the link. I’m not seeing any empty URL parameters in the JSON you provided, which makes me think that the issue may be with bundling.
Do you have the “Remote Images” setting turned on in Apple News > Settings? If so, that would eliminate the possibility that images are failing to bundle when sending the JSON to Apple News, since it will just send the JSON file with a URL, which should not be blank.
If you have Remote Images turned on and you are still seeing this problem, please let me know.
Remote Images is on.
Should switch and see what happens?
I tried it with remote images off and got this message:
There has been an error with the API: The attachment could not be included in the request because it was empty.
If you need assistance, please reach out for support on www.remarpro.com or GitHub.
Sounds like you may have an issue with one of your images. Can you send me the content from the Text tab in the post editor via Pastebin please?
Kevin, thanks.
This is very strange. Everything in the post seems fine, and the JSON you sent me seems fine. What were the steps you took when the error occurred? Are you still getting errors when trying to publish this post? From what I can tell, it should work just fine.
Thanks Kevin.
When it did not publish I checked the file to see if there were any obvious errors on my end.
I have tried to publish it about a dozen times.
Would our cache program be part of the issue?
So when you download the JSON, it’s fine, but when you try to publish, it gives you the error about having a blank URL? It’s possible that the caching plugin is interfering, although I couldn’t tell you exactly how. The other thing that’s confusing is that the component index references don’t make any sense. There is indeed an image at components.2.components.4 but there isn’t one at components.2.components.11. Did you turn on error reporting email in Apple News > Settings? Are you getting anything back there?
I do have email reproting.
Nos i have a new on that is not publishing. https://monarchhousing.org/2017/03/30/build-thriving-nj/
this is the email response:
API Response:
Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[date] => Thu, 30 Mar 2017 16:36:29 GMT
[request-id] => f3fd2723-0d10-4303-9830-d5f725544610
[content-type] => application/json;charset=UTF-8
[content-length] => 203
[server] => Jetty(9.2.20.v20161216)
))
[body] => {“errors”:[{“code”:”INVALID_DOCUMENT”,”keyPath”:[“components”,2,”components”,19,”URL”],”value”:””,”message”:”\”URL\” was \”\” should be valid URL with one of [\”bundle\”,\”http\”,\”https\”] scheme(s)”}]}
[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",2,"components",19,"URL"],"value":"","message":"\"URL\" was \"\" should be valid URL with one of [\"bundle\",\"http\",\"https\"] scheme(s)"}]}
[raw] => HTTP/1.1 400 Bad Request
Date: Thu, 30 Mar 2017 16:36:29 GMT
Request-Id: f3fd2723-0d10-4303-9830-d5f725544610
Content-Type: application/json;charset=UTF-8
Content-Length: 203
Server: Jetty(9.2.20.v20161216){"errors":[{"code":"INVALID_DOCUMENT","keyPath":["components",2,"components",19,"URL"],"value":"","message":"\"URL\" was \"\" should be valid URL with one of [\"bundle\",\"http\",\"https\"] scheme(s)"}]}
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[date] => Array
(
[0] => Thu, 30 Mar 2017 16:36:29 GMT
)[request-id] => Array
(
[0] => f3fd2723-0d10-4303-9830-d5f725544610
)[content-type] => Array
(
[0] => application/json;charset=UTF-8
)[content-length] => Array
(
[0] => 203
)[server] => Array
(
[0] => Jetty(9.2.20.v20161216)
))
)
[status_code] => 400
[protocol_version] => 1.1
[success] =>
[redirects] => 0
[url] => https://u48r14.digitalhub.com/channels/8b568849-be2b-49d5-9ffd-c5bd1e5c0203/articles
[history] => Array
(
)[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
))
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
))
Request Meta:
Array
(
[data] => Array
(
[links] => Array
(
[sections] => Array
(
[0] => https://u48r14.digitalhub.com/sections/f690fa25-9a1e-320b-81c9-2554a8129875
))
)
)
Image Settings:
Use Remote images enabledJSON:
{"version":"1.1","identifier":"post-35812","language":"en","title":"Advocates Invite Union County Residents to Build a Thriving NJ","documentStyle":{"backgroundColor":"#fafafa"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"title","text":"Advocates Invite Union County Residents to Build a Thriving NJ","textStyle":"default-title","layout":"title-layout"},{"role":"header","layout":"headerBelowTextPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"http:\/\/cdn.monarchhousing.org\/wp-content\/uploads\/2017\/03\/Trio-2.jpg"}],"behavior":{"type":"parallax","factor":0.8}},{"role":"container","layout":{"columnSpan":7,"columnStart":0,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#fafafa"},"components":[{"role":"byline","text":"by Kate M. Kelly | Mar 30, 2017 | 11:53 AM","textStyle":"default-byline","layout":"byline-layout"},{"role":"heading3","text":"Build a Thriving NJ Housing Summit Explores Affordability Solutions","format":"markdown","textStyle":"default-heading-3","layout":"heading-layout"},{"role":"body","text":"More than one hundred Union County residents joined members of the local faith-based community and community development sector for a discussion this week on housing affordability in New Jersey at \u201cBuild a Thriving NJ: Union County Housing Summit.\u201d","format":"markdown","textStyle":"dropcapBodyStyle","layout":"body-layout"},{"role":"body","text":"The summit explored solutions and steps local residents and housing advocates can take to engage decision makers in a proposal that will boost economic activity to build a thriving New Jersey.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"\u201cWe can build a thriving New Jersey by making sure we can afford homes in the communities where we work and live,\u201d said Staci Berger, president and chief executive officer of the [**Housing and Community Development Network of NJ**](http:\/\/hcdnnj.org) (the Network). \u201cOur elected officials need to support investments that are going to lift our economy. By building homes we can afford and revitalizing our communities, we can create thousands of new jobs, support businesses and boost economy activity throughout the state.\u201d","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"NJ ranks high among states with shortages of affordable homes. According to the [**National Low Income Housing Coalition**](http:\/\/nlihc.org), NJ only has 29 affordable homes available for every 100 households. The scarce supply of affordable rentals and starter homes is particularly burdensome for Union County residents where\n[**a family must have an annual income of $52,960 to afford a modest two-bedroom home**](http:\/\/monarchhousing.org\/2016\/05\/26\/affordable-options-scarce-for-growing-nj-rental-market\/) \u2013 the median income is $40,685.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"\u201cIn Union County, a family needs to earn $25.46 an hour to afford a two-bedroom apartment,\u201d said Richard Brown, chief executive officer of Monarch Housing Associates. \u201cThe median income is lower than that so we are in an affordable homes crisis that hurts our families. That is why we are participating in the housing summit and working together to Build a Thriving NJ.\u201d","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"photo","URL":"http:\/\/cdn3.monarchhousing.org\/wp-content\/uploads\/2017\/03\/Breakout4-copy.jpg","layout":"full-width-image"},{"role":"body","text":"Advocates discuss next steps to Build a Thriving NJ at the Union County Housing Summit","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"\u201cBuild a Thriving New Jersey\u201d calls on the next leaders of the state to invest $600 million annually into homes residents can afford. The Network launched the \u201cBuild a Thriving NJ\u201d campaign to boost the state\u2019s economy through a plan that creates afford home opportunities and jobs for NJ residents.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"The State previously invested in ten community development programs but over the last decade but much of the funding has been diverted or abandoned. Several of the programs housing advocates say will help \u201cBuild a Thriving NJ\u201d include:","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"- The Affordable Housing Trust Fund,\n- The State Rental Assistance Program,\n- The Neighborhood Revitalization Tax Credit Program (NRTC),\n- Lead Poisoning Prevention and Weatherization, and\n- Homeless Service Programs.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"The summit allowed local residents the chance to share their personal housing struggles and discuss solutions as well as civic engagement strategies with community leaders.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"photo","URL":"http:\/\/cdn3.monarchhousing.org\/wp-content\/uploads\/2017\/03\/rgrady-297x300.jpg","layout":"full-width-image"},{"role":"container","layout":"anchor-layout-right","components":[{"role":"quote","text":"Build a Thriving NJ calls on the next leaders of the state to invest $600M annually into homes residents can afford so we can all afford to call NJ home.\n\n","format":"markdown","layout":"pullquote-layout","textStyle":"default-pullquote"}],"style":{"border":{"all":{"width":"3","style":"solid","color":"#00bce3"},"left":false,"right":false}},"anchor":{"targetComponentIdentifier":"component-3ec7fbcb37a36da556b82914efd95e86","originAnchorPosition":"top","targetAnchorPosition":"top","rangeStart":0,"rangeLength":10},"textStyle":"default-pullquote"},{"role":"body","text":"Rise\u2019 Grady spoke about the difficulty finding an affordable place to call home in Union County.\n\nCity of Elizabeth resident Rise\u2019 Grady shared how despite living in a small studio apartment and having full-time employment, she has trouble making ends meet. Grady and her daughter are looking for a new home that they can move in to together, pooling their resources to pay the rent.\n\n\u201cThe working class has been forgotten in the housing market,\u201d said Grady. \u201cWe need to find a way to make homes affordable for all of us. Many working people, like myself, have to decide between paying rent or buying food.\u201d ","format":"markdown","textStyle":"default-body","layout":"body-layout","identifier":"component-3ec7fbcb37a36da556b82914efd95e86"},{"role":"body","text":"Joining Grady and other housing advocates and community leaders were:","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"- Deacon Tim Williams, **[First Baptist Church, Kenilworth](https:\/\/www.facebook.com\/pages\/First-Baptist-Church\/115232475166855)**;\n- Pastor J. David Knecht, [**Holy Cross Lutheran Church**](http:\/\/holycrossnj.com\/);\n- Arnold Cohen, senior policy coordinator, the Network; and\n- Raphael Kasen, community building specialist, the Network.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"\u201cWe work to facilitate regular interfaith meetings in order to make way for the building of bonds within the interfaith community,\u201d said Deacon Tim Williams, chair, [**Union County Interfaith Coordinating Council**](http:\/\/www.caunj.org\/?page_id=3668).","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"photo","URL":"","layout":"anchor-layout-right","anchor":{"targetAnchorPosition":"center","rangeStart":0,"rangeLength":1,"targetComponentIdentifier":"component-fc78e76471bb845fc2db670e5b12398b"}},{"role":"photo","URL":"http:\/\/cdn3.monarchhousing.org\/wp-content\/uploads\/2016\/11\/buildthrivingnj-4-191x300.jpg","layout":"anchor-layout-right","anchor":{"targetAnchorPosition":"center","rangeStart":0,"rangeLength":1,"targetComponentIdentifier":"component-89b498b54ea97cc884d69a3c58828c51"}},{"role":"body","text":"\u201cOur faith-based members and community partners know all too well that an affordable place to call home in Union County is an impossible dream when a family needs an income of $52,8960 to rent a modest two-bedroom apartment. We are happy to host this housing conference so that we can all work together to Build a Thriving NJ.\u201d","format":"markdown","textStyle":"default-body","layout":"body-layout","identifier":"component-fc78e76471bb845fc2db670e5b12398b"},{"role":"body","text":"The \u201cBuild a Thriving NJ: Union County Housing Summit\u201d was held at the Holy Cross Lutheran Church in Springfield and sponsored by:","format":"markdown","textStyle":"default-body","layout":"body-layout","identifier":"component-89b498b54ea97cc884d69a3c58828c51"},{"role":"body","text":"- [**Community Access Unlimited**](http:\/\/www.caunj.org\/),\n- [**Elizabeth Coalition to House the Homeless**](http:\/\/theelizabethcoalition.org\/),\n- [**Family Promise Union County**](http:\/\/familypromise.org\/programs\/union-county-program\/),\n- [**Gateway Family YMCA**](http:\/\/www.ymcaeuc.org\/),\n- [**Homefirst**](http:\/\/www.homefirstinc.org\/),\n- the [**Network**](http:\/\/hcdnnj.org),\n- [**Iris House**](http:\/\/www.irishouse.org\/),\n- Monarch Housing Associates, and the\n- [**Union County Interfaith Coordinating Council**](http:\/\/www.caunj.org\/?page_id=3668).","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"[ Learn More About \u201cBuild a Thriving New Jersey\u201d ](http:\/\/www.hcdnnj.org\/buildathrivingnj)","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"[ Subscribe to Our Newsletter and Receive News You Can Use Every Morning ](http:\/\/monarchhousing.us13.list-manage.com\/subscribe?u=71c3b29ac8b19ba527f136c69&id=0f78dd487b)","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"[ Subscribe to Our Weekly Newsletter and Receive News You Can Use Every Friday ](http:\/\/monarchhousing.us13.list-manage.com\/subscribe?u=71c3b29ac8b19ba527f136c69&id=e4794e173c)","format":"markdown","textStyle":"default-body","layout":"body-layout-last"}]}],"componentTextStyles":{"default-heading-3":{"fontName":"AvenirNext-Bold","fontSize":24,"lineHeight":28,"textColor":"#000000","textAlignment":"left","tracking":0},"dropcapBodyStyle":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#000000","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18,"dropCapStyle":{"numberOfLines":4,"numberOfCharacters":1,"padding":5,"fontName":"Georgia-Bold","textColor":"#663700","numberOfRaisedLines":0}},"default-body":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#000000","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-pullquote":{"fontName":"AvenirNext-Bold","fontSize":18,"hangingPunctuation":false,"textColor":"#53585f","textTransform":"none","lineHeight":48,"textAlignment":"left","tracking":0},"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"tracking":0,"textColor":"#000000","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":17,"lineHeight":24,"tracking":0,"textColor":"#53585f"}},"componentLayouts":{"heading-layout":{"columnStart":0,"columnSpan":6,"margin":{"bottom":15,"top":15}},"body-layout":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":12}},"body-layout-last":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":30}},"full-width-image":{"margin":{"bottom":25,"top":25},"columnSpan":7,"columnStart":0},"anchored-image":{"margin":{"bottom":25,"top":25}},"anchor-layout-right":{"columnStart":3,"columnSpan":3},"pullquote-layout":{"margin":{"top":12,"bottom":12}},"title-layout":{"margin":{"top":30,"bottom":0}},"headerPhotoLayout":{"ignoreDocumentMargin":true,"columnStart":0,"columnSpan":7},"headerBelowTextPhotoLayout":{"ignoreDocumentMargin":true,"columnStart":0,"columnSpan":7,"margin":{"top":30,"bottom":0}},"byline-layout":{"margin":{"top":10,"bottom":10},"columnStart":0,"columnSpan":7}},"metadata":{"excerpt":"Build a Thriving NJ calls on the next leaders of the state to invest $600M annually into homes residents can afford so we can all afford to call NJ home.","thumbnailURL":"http:\/\/cdn.monarchhousing.org\/wp-content\/uploads\/2017\/03\/Trio-2.jpg","dateCreated":"2017-03-30T15:53:12+00:00","dateModified":"2017-03-30T16:35:53+00:00","datePublished":"2017-03-30T15:53:12+00:00","canonicalURL":"http:\/\/monarchhousing.org\/2017\/03\/30\/build-thriving-nj\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.2.4"},"advertisingSettings":{"frequency":10,"layout":{"margin":{"top":15,"bottom":15}}}}MIME request:
Authorization: HHMAC; key=0ae4a278-b8bd-4cf0-aa2c-8e8bfc3c968c; signature=78CyclKyDdYdGbVx5ysYQt8nnpar3wE4tMI6O/18NHw=; date=2017-03-30T16:36:29+00:00
Content-Length: 13606
Content-Type: multipart/form-data; boundary=723e696d284a5fc7b6c85595898f5b60--723e696d284a5fc7b6c85595898f5b60
Content-Type: application/json
Content-Disposition: form-data; name=metadata{"data":{"links":{"sections":["https:\/\/u48r14.digitalhub.com\/sections\/f690fa25-9a1e-320b-81c9-2554a8129875"]}}}
--723e696d284a5fc7b6c85595898f5b60
Content-Type: application/json
Content-Disposition: form-data; name=my_article; filename=article.json; size=13180{"version":"1.1","identifier":"post-35812","language":"en","title":"Advocates Invite Union County Residents to Build a Thriving NJ","documentStyle":{"backgroundColor":"#fafafa"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"title","text":"Advocates Invite Union County Residents to Build a Thriving NJ","textStyle":"default-title","layout":"title-layout"},{"role":"header","layout":"headerBelowTextPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"http:\/\/cdn.monarchhousing.org\/wp-content\/uploads\/2017\/03\/Trio-2.jpg"}],"behavior":{"type":"parallax","factor":0.8}},{"role":"container","layout":{"columnSpan":7,"columnStart":0,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#fafafa"},"components":[{"role":"byline","text":"by Kate M. Kelly | Mar 30, 2017 | 11:53 AM","textStyle":"default-byline","layout":"byline-layout"},{"role":"heading3","text":"Build a Thriving NJ Housing Summit Explores Affordability Solutions","format":"markdown","textStyle":"default-heading-3","layout":"heading-layout"},{"role":"body","text":"More than one hundred Union County residents joined members of the local faith-based community and community development sector for a discussion this week on housing affordability in New Jersey at \u201cBuild a Thriving NJ: Union County Housing Summit.\u201d","format":"markdown","textStyle":"dropcapBodyStyle","layout":"body-layout"},{"role":"body","text":"The summit explored solutions and steps local residents and housing advocates can take to engage decision makers in a proposal that will boost economic activity to build a thriving New Jersey.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"\u201cWe can build a thriving New Jersey by making sure we can afford homes in the communities where we work and live,\u201d said Staci Berger, president and chief executive officer of the [**Housing and Community Development Network of NJ**](http:\/\/hcdnnj.org) (the Network). \u201cOur elected officials need to support investments that are going to lift our economy. By building homes we can afford and revitalizing our communities, we can create thousands of new jobs, support businesses and boost economy activity throughout the state.\u201d","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"NJ ranks high among states with shortages of affordable homes. According to the [**National Low Income Housing Coalition**](http:\/\/nlihc.org), NJ only has 29 affordable homes available for every 100 households. The scarce supply of affordable rentals and starter homes is particularly burdensome for Union County residents where\n[**a family must have an annual income of $52,960 to afford a modest two-bedroom home**](http:\/\/monarchhousing.org\/2016\/05\/26\/affordable-options-scarce-for-growing-nj-rental-market\/) \u2013 the median income is $40,685.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"\u201cIn Union County, a family needs to earn $25.46 an hour to afford a two-bedroom apartment,\u201d said Richard Brown, chief executive officer of Monarch Housing Associates. \u201cThe median income is lower than that so we are in an affordable homes crisis that hurts our families. That is why we are participating in the housing summit and working together to Build a Thriving NJ.\u201d","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"photo","URL":"http:\/\/cdn3.monarchhousing.org\/wp-content\/uploads\/2017\/03\/Breakout4-copy.jpg","layout":"full-width-image"},{"role":"body","text":"Advocates discuss next steps to Build a Thriving NJ at the Union County Housing Summit","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"\u201cBuild a Thriving New Jersey\u201d calls on the next leaders of the state to invest $600 million annually into homes residents can afford. The Network launched the \u201cBuild a Thriving NJ\u201d campaign to boost the state\u2019s economy through a plan that creates afford home opportunities and jobs for NJ residents.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"The State previously invested in ten community development programs but over the last decade but much of the funding has been diverted or abandoned. Several of the programs housing advocates say will help \u201cBuild a Thriving NJ\u201d include:","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"- The Affordable Housing Trust Fund,\n- The State Rental Assistance Program,\n- The Neighborhood Revitalization Tax Credit Program (NRTC),\n- Lead Poisoning Prevention and Weatherization, and\n- Homeless Service Programs.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"The summit allowed local residents the chance to share their personal housing struggles and discuss solutions as well as civic engagement strategies with community leaders.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"photo","URL":"http:\/\/cdn3.monarchhousing.org\/wp-content\/uploads\/2017\/03\/rgrady-297x300.jpg","layout":"full-width-image"},{"role":"container","layout":"anchor-layout-right","components":[{"role":"quote","text":"Build a Thriving NJ calls on the next leaders of the state to invest $600M annually into homes residents can afford so we can all afford to call NJ home.\n\n","format":"markdown","layout":"pullquote-layout","textStyle":"default-pullquote"}],"style":{"border":{"all":{"width":"3","style":"solid","color":"#00bce3"},"left":false,"right":false}},"anchor":{"targetComponentIdentifier":"component-3ec7fbcb37a36da556b82914efd95e86","originAnchorPosition":"top","targetAnchorPosition":"top","rangeStart":0,"rangeLength":10},"textStyle":"default-pullquote"},{"role":"body","text":"Rise\u2019 Grady spoke about the difficulty finding an affordable place to call home in Union County.\n\nCity of Elizabeth resident Rise\u2019 Grady shared how despite living in a small studio apartment and having full-time employment, she has trouble making ends meet. Grady and her daughter are looking for a new home that they can move in to together, pooling their resources to pay the rent.\n\n\u201cThe working class has been forgotten in the housing market,\u201d said Grady. \u201cWe need to find a way to make homes affordable for all of us. Many working people, like myself, have to decide between paying rent or buying food.\u201d ","format":"markdown","textStyle":"default-body","layout":"body-layout","identifier":"component-3ec7fbcb37a36da556b82914efd95e86"},{"role":"body","text":"Joining Grady and other housing advocates and community leaders were:","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"- Deacon Tim Williams, **[First Baptist Church, Kenilworth](https:\/\/www.facebook.com\/pages\/First-Baptist-Church\/115232475166855)**;\n- Pastor J. David Knecht, [**Holy Cross Lutheran Church**](http:\/\/holycrossnj.com\/);\n- Arnold Cohen, senior policy coordinator, the Network; and\n- Raphael Kasen, community building specialist, the Network.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"\u201cWe work to facilitate regular interfaith meetings in order to make way for the building of bonds within the interfaith community,\u201d said Deacon Tim Williams, chair, [**Union County Interfaith Coordinating Council**](http:\/\/www.caunj.org\/?page_id=3668).","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"photo","URL":"","layout":"anchor-layout-right","anchor":{"targetAnchorPosition":"center","rangeStart":0,"rangeLength":1,"targetComponentIdentifier":"component-fc78e76471bb845fc2db670e5b12398b"}},{"role":"photo","URL":"http:\/\/cdn3.monarchhousing.org\/wp-content\/uploads\/2016\/11\/buildthrivingnj-4-191x300.jpg","layout":"anchor-layout-right","anchor":{"targetAnchorPosition":"center","rangeStart":0,"rangeLength":1,"targetComponentIdentifier":"component-89b498b54ea97cc884d69a3c58828c51"}},{"role":"body","text":"\u201cOur faith-based members and community partners know all too well that an affordable place to call home in Union County is an impossible dream when a family needs an income of $52,8960 to rent a modest two-bedroom apartment. We are happy to host this housing conference so that we can all work together to Build a Thriving NJ.\u201d","format":"markdown","textStyle":"default-body","layout":"body-layout","identifier":"component-fc78e76471bb845fc2db670e5b12398b"},{"role":"body","text":"The \u201cBuild a Thriving NJ: Union County Housing Summit\u201d was held at the Holy Cross Lutheran Church in Springfield and sponsored by:","format":"markdown","textStyle":"default-body","layout":"body-layout","identifier":"component-89b498b54ea97cc884d69a3c58828c51"},{"role":"body","text":"- [**Community Access Unlimited**](http:\/\/www.caunj.org\/),\n- [**Elizabeth Coalition to House the Homeless**](http:\/\/theelizabethcoalition.org\/),\n- [**Family Promise Union County**](http:\/\/familypromise.org\/programs\/union-county-program\/),\n- [**Gateway Family YMCA**](http:\/\/www.ymcaeuc.org\/),\n- [**Homefirst**](http:\/\/www.homefirstinc.org\/),\n- the [**Network**](http:\/\/hcdnnj.org),\n- [**Iris House**](http:\/\/www.irishouse.org\/),\n- Monarch Housing Associates, and the\n- [**Union County Interfaith Coordinating Council**](http:\/\/www.caunj.org\/?page_id=3668).","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"[ Learn More About \u201cBuild a Thriving New Jersey\u201d ](http:\/\/www.hcdnnj.org\/buildathrivingnj)","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"[ Subscribe to Our Newsletter and Receive News You Can Use Every Morning ](http:\/\/monarchhousing.us13.list-manage.com\/subscribe?u=71c3b29ac8b19ba527f136c69&id=0f78dd487b)","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"[ Subscribe to Our Weekly Newsletter and Receive News You Can Use Every Friday ](http:\/\/monarchhousing.us13.list-manage.com\/subscribe?u=71c3b29ac8b19ba527f136c69&id=e4794e173c)","format":"markdown","textStyle":"default-body","layout":"body-layout-last"}]}],"componentTextStyles":{"default-heading-3":{"fontName":"AvenirNext-Bold","fontSize":24,"lineHeight":28,"textColor":"#000000","textAlignment":"left","tracking":0},"dropcapBodyStyle":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#000000","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18,"dropCapStyle":{"numberOfLines":4,"numberOfCharacters":1,"padding":5,"fontName":"Georgia-Bold","textColor":"#663700","numberOfRaisedLines":0}},"default-body":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#000000","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-pullquote":{"fontName":"AvenirNext-Bold","fontSize":18,"hangingPunctuation":false,"textColor":"#53585f","textTransform":"none","lineHeight":48,"textAlignment":"left","tracking":0},"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"tracking":0,"textColor":"#000000","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":17,"lineHeight":24,"tracking":0,"textColor":"#53585f"}},"componentLayouts":{"heading-layout":{"columnStart":0,"columnSpan":6,"margin":{"bottom":15,"top":15}},"body-layout":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":12}},"body-layout-last":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":30}},"full-width-image":{"margin":{"bottom":25,"top":25},"columnSpan":7,"columnStart":0},"anchored-image":{"margin":{"bottom":25,"top":25}},"anchor-layout-right":{"columnStart":3,"columnSpan":3},"pullquote-layout":{"margin":{"top":12,"bottom":12}},"title-layout":{"margin":{"top":30,"bottom":0}},"headerPhotoLayout":{"ignoreDocumentMargin":true,"columnStart":0,"columnSpan":7},"headerBelowTextPhotoLayout":{"ignoreDocumentMargin":true,"columnStart":0,"columnSpan":7,"margin":{"top":30,"bottom":0}},"byline-layout":{"margin":{"top":10,"bottom":10},"columnStart":0,"columnSpan":7}},"metadata":{"excerpt":"Build a Thriving NJ calls on the next leaders of the state to invest $600M annually into homes residents can afford so we can all afford to call NJ home.","thumbnailURL":"http:\/\/cdn.monarchhousing.org\/wp-content\/uploads\/2017\/03\/Trio-2.jpg","dateCreated":"2017-03-30T15:53:12+00:00","dateModified":"2017-03-30T16:35:53+00:00","datePublished":"2017-03-30T15:53:12+00:00","canonicalURL":"http:\/\/monarchhousing.org\/2017\/03\/30\/build-thriving-nj\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.2.4"},"advertisingSettings":{"frequency":10,"layout":{"margin":{"top":15,"bottom":15}}}}
--723e696d284a5fc7b6c85595898f5b60--It appears that you are using something to make your images lazy load, which may be interfering with the exporter. I’m trying to reproduce this behavior locally. Are you using a particular plugin to handle lazy loading images?
I use WP Rocket. I use lazy load on all of my posts and is only these few they do not publish.
I disabled lazy load and updated and the post still failed. This was the error message:
There has been an error with the API:
INVALID_DOCUMENT – “URL” was “” should be valid URL with one of [“bundle”
“http”
“https”] scheme(s) (keyPath components->2->components->19->URL)The lazy version must be stuck in cache. Viewing source on the article itself yields this block:
What appears to be happening is the matching engine is seeing the
src
attribute on the firstimg
tag, which is a data URI, which yields an empty URL when passed throughesc_url_raw
here: https://github.com/alleyinteractive/apple-news/blob/master/includes/apple-exporter/components/class-image.php#L130In any case, no image components should be added with empty URL values. I’ve created a GitHub issue to track progress on solving that here: https://github.com/alleyinteractive/apple-news/issues/351
- The topic ‘Post Fine in Preview Fails t Publish’ is closed to new replies.