Skip to content

Cloudfront Invalid Key when requesting track #129

@explaura

Description

@explaura

I tried requesting a track like so:

spotify.trackUri(track, function(err, res) {
      if (err) throw err;
      if (!res.uri) return stream.emit('error', new Error('response contained no "uri"'));

      console.log(res.uri);

      spotify.disconnect();
    });

...however the track didn't play. I then immediately copied and pasted the generated URI into a browser and received the following:

Error Code: InvalidKey
Error Message: Unknown Key

URI:

http://dsu0uct5x2puz.cloudfront.net/mp3/71b82366197b20b7709681bfb5eed0f800bc1870?Expires=1467194546&Signature=5U1MTSR~m-3JP3cGfxLqYNhU9~IYtWmYLfX0dwQinyDRqYDPb15Y1R1FI--0ofOA-SQyZctGsfXkIjXdYZ3lVmm9DW-7H7WEWek7h16KqAAgMV7vRshSCmAGX-5lNjH-ibaMkcU16M9sybkafV3KtjPJygCT76uvFgVrlvOQwPj_&Key-Pair-Id=APKAIJ6GQLKYCDRS5HFA

The preview clip of this song works fine. Anyone else experiencing this issue/know what's going wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions