• Resolved kaykills

    (@kaykills)


    Hi,

    We have been using the Publish to Apple News plugin for quite a while and have updated the plugin when needed with no issues. I updated the plugin on two of our sites from version 2.1.3 to the latest 2.3.2. Since the update all of our articles listed in WordPress show as WRONG_SIGNATURE in the status column. I am also unable to publish any unpublished articles.

    Things I have attempted :
    – I noticed that the API Settings section looked different, and that maybe my settings got erased so I attempted to upload a .papi file and also pasted in the content manually, both times, did not change anything. What I did notice is that after I updated my api settings, it appears that the text area box updates and looks valid, however if I reload that settings page and click the “Enter the contents of your .papi file manually”, the textbox looks different, and I am wondering if this is a visual error, or if my API file is getting messed up after I upload it.

    – I also downgraded back to the old version I was using with no success.

    I have not generated a new API key yet as we haven’t had to do something like that since we started using Apple News (although maybe that is not the best practice).

    I am also running into issues using the Apple News CLI to generate a papi file. I have been doing that manually, however I believe my manual files are following the proper format (as noted in another topic in the github support section).

    I have been troubleshooting this for almost 3 days with no progress, and I am looking for a bit of support. I do not have any other devs in our office, and I am almost at a loss for what to do next.

    If you require any more information from me please let me know.

    Thanks for your time.
    Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kevin Fodness

    (@kevinfodness)

    If you are able to navigate to Apple News > Sections in the WordPress admin and it shows you the list of sections, then that means that your API credentials are properly configured. If you get an error (unable to fetch a list of sections) then that means that the API credentials are not configured properly. For security reasons, we don’t show the configured API credentials in the textbox on the settings screen.

    WRONG_SIGNATURE usually means that the time on your server is no longer in sync with an NTP server. Part of the signature generation process for authenticating with Apple’s systems is to encode it with the current time, and if your server’s time is wrong, this will fail. Timezone doesn’t matter in this case, as the system is smart enough to handle that. You will need to log in to your server via SSH or similar and check the current date and time and verify that it is correct, or ask your server administrator to do this for you.

    Thread Starter kaykills

    (@kaykills)

    Hi Kevin thanks for the response. I thought the topic closed and didn’t bother to reply, but I appreciate the support.

    It was an issue with the API key and is fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to publish after plugin update’ is closed to new replies.