<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Spotify /recommendations endpoint returning an empty array for tracks in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-recommendations-endpoint-returning-an-empty-array-for/m-p/5332494#M3982</link>
    <description>Hey there, help's here!&lt;BR /&gt;&lt;BR /&gt;Hmm, it seems that the genre seeds you've provided aren't valid (meme rap, irish drill, lo-fi rap, uk drill). You can get all available genre seeds with this endpoint: &lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-recommendation-genres" target="_blank"&gt;https://developer.spotify.com/documentation/web-api/reference/#/operations/get-recommendation-genres&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Could you try using a genre seed from that list (e.g. 'techno') and see if the same thing happens?&lt;BR /&gt;&lt;BR /&gt;Keep me posted! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Hubo</description>
    <pubDate>Tue, 25 Jan 2022 17:16:40 GMT</pubDate>
    <dc:creator>Hubo</dc:creator>
    <dc:date>2022-01-25T17:16:40Z</dc:date>
    <item>
      <title>Spotify /recommendations endpoint returning an empty array for tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-recommendations-endpoint-returning-an-empty-array-for/m-p/5331099#M3963</link>
      <description>&lt;P&gt;&lt;STRONG&gt;My Question or Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When making a call to the /reccomendations endpoint, I get a seemingly regular response to the API call, except the tracks array is empty.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Call code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dryd3n_0-1642813986657.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/137228i59AB8CB307B6CEAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dryd3n_0-1642813986657.png" alt="Dryd3n_0-1642813986657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response:&lt;BR /&gt;{&lt;BR /&gt;"tracks" : [ ],&lt;BR /&gt;"seeds" : [ {&lt;BR /&gt;"initialPoolSize" : 0,&lt;BR /&gt;"afterFilteringSize" : 0,&lt;BR /&gt;"afterRelinkingSize" : 0,&lt;BR /&gt;"id" : "meme rap",&lt;BR /&gt;"type" : "GENRE",&lt;BR /&gt;"href" : null&lt;BR /&gt;}, {&lt;BR /&gt;"initialPoolSize" : 0,&lt;BR /&gt;"afterFilteringSize" : 0,&lt;BR /&gt;"afterRelinkingSize" : 0,&lt;BR /&gt;"id" : "irish drill",&lt;BR /&gt;"type" : "GENRE",&lt;BR /&gt;"href" : null&lt;BR /&gt;}, {&lt;BR /&gt;"initialPoolSize" : 0,&lt;BR /&gt;"afterFilteringSize" : 0,&lt;BR /&gt;"afterRelinkingSize" : 0,&lt;BR /&gt;"id" : "uk hip hop",&lt;BR /&gt;"type" : "GENRE",&lt;BR /&gt;"href" : null&lt;BR /&gt;}, {&lt;BR /&gt;"initialPoolSize" : 0,&lt;BR /&gt;"afterFilteringSize" : 0,&lt;BR /&gt;"afterRelinkingSize" : 0,&lt;BR /&gt;"id" : "lo-fi rap",&lt;BR /&gt;"type" : "GENRE",&lt;BR /&gt;"href" : null&lt;BR /&gt;}, {&lt;BR /&gt;"initialPoolSize" : 0,&lt;BR /&gt;"afterFilteringSize" : 0,&lt;BR /&gt;"afterRelinkingSize" : 0,&lt;BR /&gt;"id" : "uk drill",&lt;BR /&gt;"type" : "GENRE",&lt;BR /&gt;"href" : null&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as you can see the api returns the seeds but the track array is empty...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 01:14:29 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-recommendations-endpoint-returning-an-empty-array-for/m-p/5331099#M3963</guid>
      <dc:creator>Dryd3n</dc:creator>
      <dc:date>2022-01-22T01:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify /recommendations endpoint returning an empty array for tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-recommendations-endpoint-returning-an-empty-array-for/m-p/5332494#M3982</link>
      <description>Hey there, help's here!&lt;BR /&gt;&lt;BR /&gt;Hmm, it seems that the genre seeds you've provided aren't valid (meme rap, irish drill, lo-fi rap, uk drill). You can get all available genre seeds with this endpoint: &lt;A href="https://developer.spotify.com/documentation/web-api/reference/#/operations/get-recommendation-genres" target="_blank"&gt;https://developer.spotify.com/documentation/web-api/reference/#/operations/get-recommendation-genres&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Could you try using a genre seed from that list (e.g. 'techno') and see if the same thing happens?&lt;BR /&gt;&lt;BR /&gt;Keep me posted! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Hubo</description>
      <pubDate>Tue, 25 Jan 2022 17:16:40 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-recommendations-endpoint-returning-an-empty-array-for/m-p/5332494#M3982</guid>
      <dc:creator>Hubo</dc:creator>
      <dc:date>2022-01-25T17:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify /recommendations endpoint returning an empty array for tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-recommendations-endpoint-returning-an-empty-array-for/m-p/5332568#M3988</link>
      <description>&lt;P&gt;Thanks&amp;nbsp; Hubo, you where correct. I assumed those genre seeds to be valid because I pulled them from the artists endpoint so I just assumed that they would have been valid genre seeds but I guess not. Thanks anyway&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 19:30:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-recommendations-endpoint-returning-an-empty-array-for/m-p/5332568#M3988</guid>
      <dc:creator>Dryd3n</dc:creator>
      <dc:date>2022-01-25T19:30:27Z</dc:date>
    </item>
  </channel>
</rss>

