Closed attackant closed 7 months ago
@attackant let me know what you figure out here - I suspect this is not an issue with the plugin itself, but with something else in a workflow (e.g., automatically configuring non-production environments to push articles as previews, which aren't subsequently being cleaned up via News Publisher). If the issue is indeed within this plugin and not within implementation code for one or more publisher sites, then we can discuss how to handle within this plugin and a timeline for release.
@manewc Did anything come out of the ticket you had on this issue?
The client's issue was more that they received an email from Apple stating they had too many draft posts in their account and they needed to take action to reduce the drafts. The issue was more that the drafts posts were showing as being updated frequently, which was possible although not probable. The result ended up being more on Apple's end:
The timecode was refreshed recently due to a maintenance task on our end, during which we reprocessed old draft articles.
I don't believe they ever had an experience where they were blocked from publishing which sounds like the case expressed https://wordpress.org/support/topic/there-has-been-an-error-with-the-apple-news-api-too_many_preview_articles/.
In that ^ case I would be interested to know how many draft articles they actually have in their account and if reducing < 500 will correct the problem.
Closing this issue as it appears to have been an issue outside of the plugin itself and there have been no replies in 5 weeks from the WP.org poster.
I'm have the same problem at www.appleworld.today -- and have had the issue for weeks.
@dennissellers you will need to delete preview articles from iCloud News Publisher to get below the limit. The plugin does not publish preview articles to iCloud News Publisher by default - you have to check the box to publish an article as a preview. It's possible that you have a non-production environment that is configured to always publish articles as preview, and it has driven up the number of preview articles you have, but that behavior would be coming from code outside of this plugin.
Description of the bug
We are experiencing an issue with the Apple News API that is preventing us from publishing articles. When attempting to publish, we receive the following error message:
It appears that Apple News API is being sent too many draft articles causing the channel to exceed the maximum limit of 500 draft articles. We need to investigate how articles are being sent to Apple News in draft status and determine the best course of action to resolve this issue.
Acceptance Criteria
Steps To Reproduce
There has been an error with the Apple News API: TOO_MANY_PREVIEW_ARTICLES
Additional Information