NPR One API - 401 error
<p>I'm building an app that uses the <a href="http://dev.npr.org/api/" rel="nofollow">NPR One API</a>. I'm having trouble getting a response, and there aren't any posts on this topic as far as I've seen. </p>

<p>I used the <a href="https://www.npmjs.com/package/npr-api" rel="nofollow">npr-api</a> node module to generate an access token, and that process seemed to work without problems. When I make a GET request at <code>https://api.npr.org/stationfinder/v2/organizations</code>, I keep getting a 401 error. I'm following the documentation and including the authorization header as specified:</p>

<pre><code>Authorization: Bearer ACCESS_TOKEN
</code></pre>

<p>where I've replaced "ACCESS_TOKEN" with the code generated by following the steps listed in the <code>npr-api</code> module documentation. The response body is:</p>

<pre><code>{
  “version”: “1.0”,
  “href”: “http://api.npr.org/stationfinder/v2/organizations”,
  “attributes”: {},
  “items”: [],
  “links”: {},
  “errors”: [
    {
      “code”: 401885,
      “text”: “Unauthorized”
    }
  ]
}
</code></pre>

<p>I've tried running the “Try it out!” test from the detailed API notes for <strong>stationfinder</strong>, which also gives me the same response.</p>

<p>Has anyone else experienced this problem?</p>