request-promise error with response
<p>I am using the <code>request-promise</code> library to implement promises with my API calls. I had previously been using the standard <code>request</code> library, and by parsing the <code>json</code> I was able to get the result I desired. However, since changing to the <code>request-promise</code> library I am getting an error saying <code>[SyntaxError: Unexpected token u]</code>.</p>

<p>Can anyone spot something I am doing wrong?</p>

<p>see code below:</p>

<pre><code>var rp = require('request-promise');

var options = {
   uri: 'https://api.filtr.com/3.0/Spotify/5/gb/tracks?tag=happy'
}

rp(options).then(function(error, response, body){
  console.log(body);
  var body = JSON.parse(body);
  console.log(body);
}
</code></pre>