spotify-api.js icon indicating copy to clipboard operation
spotify-api.js copied to clipboard

Podcast track returning null

Open niveKKumar opened this issue 2 years ago • 1 comments

Bug Report

What i expected:

 const test = await spot.playlists.getTracks("0vRxeAksQ8ppt6TzxGV7qG");
 console.log(`🚀 ~ loadPodcastInfos ~ test`, test);

Expected output: https://developer.spotify.com/console/get-playlist-tracks/

  "items": [
    {
      "added_at": "2022-05-11T19:49:45Z",
      "added_by": {
        "external_urls": {
          "spotify": "https://open.spotify.com/user/6xq5zvte0qs0lytr6ccb5wne8"
        },
        "href": "https://api.spotify.com/v1/users/6xq5zvte0qs0lytr6ccb5wne8",
        "id": "6xq5zvte0qs0lytr6ccb5wne8",
        "type": "user",
        "uri": "spotify:user:6xq5zvte0qs0lytr6ccb5wne8"
      },
      "is_local": false,
      "primary_color": null,
      "track": {
        "album": {
          "album_type": "compilation",
          "artists": [
            {
              "external_urls": {
                "spotify": "https://open.spotify.com/show/79CkJF3UJTHFV8Dse3Oy0P"
              },
              "href": "https://api.spotify.com/v1/shows/79CkJF3UJTHFV8Dse3Oy0P",
              "id": "79CkJF3UJTHFV8Dse3Oy0P",
              "name": "Huberman Lab",
              "type": "show",
              "uri": "spotify:show:79CkJF3UJTHFV8Dse3Oy0P"
            }

What actually happened:

image track:null

To reproduce this bug:

  • Node Version: 18.3

  • Library Version: 9.2.1

  • [] I have already checked issues regarding this bug.

  • [] This problem is generated due to version migration.

niveKKumar avatar Jun 28 '22 10:06 niveKKumar

image

It works very well. And, by the way use the new version of v9.2.2 where it is fixed.

scientific-dev avatar Jul 31 '22 09:07 scientific-dev

Closing this as the issue is fixed. If you face further issues, create a new issue.

scientific-dev avatar Nov 11 '22 11:11 scientific-dev