Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Questions pushing post to the API and nprml story id was missing #67

Open
@jiangzhan

Description

@jiangzhan

Error messages:

Error pushing story with post_id = 13668 for url=https://api-s1.npr.org/story?orgId=254&apiKey="Myapikey" HTTP Error response = Bad Request
API Error Message = Authentication by IP address failed for IP 35.224.193.53

When I print out the nprml the story id was missing, is the story id causing the error?

<nprml version="0.93">
  <list>
    <story>
      <link type="html">https://kuvo.lndo.site/testing-npr-request/
      <teaser>testing</teaser>
      <title>Testing NPR request</title>
      <byline>
        <name>CivicAdmin</name>
      </byline>
      <storydate>Thu, 25 Apr 2019 22:46:03 +0000</storydate>
      <pubdate>Thu, 25 Apr 2019 23:59:24 +0000</pubdate>
      <lastmodifieddate>Thu, 25 Apr 2019 23:59:24 +0000</lastmodifieddate>
      <partnerid>https://kuvo.lndo.site/?p=24294</partnerid>
      <audiorunbydate>2 May 2019 16:46:00 -0600</audiorunbydate>
      <textwithhtml>
        <paragraph num="1"><!--[CDATA[testing]]--></paragraph>
      </textwithhtml>
    </story>
  </list>
</nprml>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions