• Resolved hayleythayer

    (@hayleythayer)


    After getting my channel approved on Apple News, none of my post will sync over. I’m getting the following error message on all new posts I create:

    “There has been an error with the API: INVALID_TYPE (keyPath links->sections->0)”

    It looks like the plugin isn’t automatically creating a apple_news_api_share_url and apple_news_api_id on any new post. How do I get the plugin to generate this post meta info on all new posts and also, retroactively, assign new meta info on old posts that no longer have it?

    It’s super frustrating. On all the old posts that I have I’m either getting one of two errors:

    THERE HAS BEEN AN ERROR WITH THE API: INVALID_TYPE (KEYPATH LINKS->SECTIONS->0)

    OR

    THERE HAS BEEN AN ERROR WITH THE API: NOT_FOUND (KEYPATH ARTICLEID)

    On another thread, I was told to delete the post meta info on these old posts in the custom fields section of the post editor, and that the plugin would generate new ones. However, the plugin isn’t generating any new ones.

    Please please, any help would be greatly appreciated, since I essentially can’t publish any new content on Apple News without this plugin working.

    • This topic was modified 6 years, 8 months ago by hayleythayer.
    • This topic was modified 6 years, 8 months ago by hayleythayer.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hayleythayer

    (@hayleythayer)

    For context, I had the same initial issues as the person on this thread.

    I took the advice from that thread and deleted some of the post meta data in the posts where I was getting the error — however it’s now not generating any new tags. Also, I’ve replaced the API key twice and still am getting the same error message.

    Is there any way to resolve this?

    Hi @hayleythayer,

    Do the sections at https://applenews.alley.dev/wp-admin/admin.php?page=apple-news-sections match the sections you’ve set up within your iCloud Publisher account?

    Taking a guess, but it’s possible you’re running into this issue: https://github.com/alleyinteractive/apple-news/issues/406 (which is slated to be fixed).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting Error Message on Every Post I Try to Publish’ is closed to new replies.