• Resolved pxforti

    (@pxforti)


    When I create a new post and publish it in wordpress, I get this error:
    There has been an error with the API: The attachment article.json could not be included in the request because it was empty.

Viewing 7 replies - 16 through 22 (of 22 total)
  • Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    You really need to get the debug emails for me to be able to help you further. Please ensure that debug mode is enabled. If emails are still not being sent, you’ll need to check on that with your web host.

    OK, thank you. The plugin’s Enable Debugging option is set to “yes.” We are receiving emails from other plugins (like Wordfence) that generate them. Same email address (a WP admin email address).

    • This reply was modified 8 years, 1 month ago by fafafacela.
    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Please work with your hosting company to determine why the emails are not being sent.

    We will do so, thank you. I would like to emphasize for others who may encounter this issue, and read this information, that we are currently receiving emails from all other plugins that generate them — except from the Publish to Apple News plugin.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    If you’d like to report a bug with email, please do so as a separate ticket or a github issue.

    Thanks.

    I have this issue as well, specifically with this article:
    https://nuclearmonster.com/2017/03/the-new-ipad-cheap/

    The json file that the plugin generated is in fact empty, zero bytes.

    I’ve enabled the debug option to generate an email, no e-mail was sent.

    In this case, I have been having problems with my host (DreamHost) throttling the memory usage of the site and they have been not very helpful in debugging it, so occasionally the php processes are killed as they try to upsell me to a VPS without giving me the tools to debug the issue.

    I suspect this happened to the apple news plugin when it was trying to generate the json for the article, and that’s why it is empty. Not at all sure, but that’s the most obvious reason.

    In that case, I am not sure if updating the post should regenerate the json from scratch, or not. I haven’t had time to look at the code for the plugin to debug it further.

    It turns out that I do get e-mails from the Apple News plugin, just not for that post. Really strange.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘There has been an error with the API: The attachment article.json could not be i’ is closed to new replies.