Skip to content
This repository has been 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 opened this issue Apr 26, 2019 · 0 comments
Open

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

jiangzhan opened this issue Apr 26, 2019 · 0 comments

Comments

@jiangzhan
Copy link

jiangzhan commented Apr 26, 2019

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>
@jiangzhan jiangzhan changed the title Problems pushing post to the API and nprml the story id was missing Questions pushing post to the API and nprml the story id was missing Apr 26, 2019
@jiangzhan jiangzhan changed the title Questions pushing post to the API and nprml the story id was missing Questions pushing post to the API and nprml story id was missing Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant