<?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 api returns wrong total -value in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/api-returns-wrong-total-value/m-p/6436235#M15239</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please check the following api. It returns "total": 349, i which is wrong in this case . The same error happens with most of the artists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"href": "&lt;A href="https://api.spotify.com/v1/artists/568ZhdwyaiCyOGJRtNYhWf/albums?offset=0&amp;amp;limit=20&amp;amp;market=FI&amp;amp;locale=fi,en;q%3D0.9,en-GB;q%3D0.8,en-US;q%3D0.7&amp;amp;include_groups=album" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/568ZhdwyaiCyOGJRtNYhWf/albums?offset=0&amp;amp;limit=20&amp;amp;market=FI&amp;amp;locale=fi,en;q%3D0.9,en-GB;q%3D0.8,en-US;q%3D0.7&amp;amp;include_groups=album&lt;/A&gt;",&lt;BR /&gt;"limit": 20,&lt;BR /&gt;"next": "&lt;A href="https://api.spotify.com/v1/artists/568ZhdwyaiCyOGJRtNYhWf/albums?offset=20&amp;amp;limit=20&amp;amp;market=FI&amp;amp;locale=fi,en;q%3D0.9,en-GB;q%3D0.8,en-US;q%3D0.7&amp;amp;include_groups=album" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/568ZhdwyaiCyOGJRtNYhWf/albums?offset=20&amp;amp;limit=20&amp;amp;market=FI&amp;amp;locale=fi,en;q%3D0.9,en-GB;q%3D0.8,en-US;q%3D0.7&amp;amp;include_groups=album&lt;/A&gt;",&lt;BR /&gt;"offset": 0,&lt;BR /&gt;"previous": null,&lt;BR /&gt;"total": 349,&lt;BR /&gt;"items": [&lt;BR /&gt;{&lt;BR /&gt;"album_type": "album",&lt;BR /&gt;"total_tracks": 13,&lt;BR /&gt;"is_playable": true,&lt;BR /&gt;"external_urls": {&lt;BR /&gt;"spotify": "&lt;A href="https://open.spotify.com/album/4wSHMlOxOpLLs1boWeAteq" target="_blank" rel="noopener"&gt;https://open.spotify.com/album/4wSHMlOxOpLLs1boWeAteq&lt;/A&gt;"&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that total value is for all album_types:&amp;nbsp;"album",&amp;nbsp;"single",&amp;nbsp;"compilation"&lt;/P&gt;&lt;P&gt;but if request is limited to "album_type": "album" only, the total value should show the total number of albums.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously this has worked correctly, but I noticed this issue two weeks ago&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 09:36:37 GMT</pubDate>
    <dc:creator>veskempp</dc:creator>
    <dc:date>2024-10-14T09:36:37Z</dc:date>
    <item>
      <title>api returns wrong total -value</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/api-returns-wrong-total-value/m-p/6436235#M15239</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please check the following api. It returns "total": 349, i which is wrong in this case . The same error happens with most of the artists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"href": "&lt;A href="https://api.spotify.com/v1/artists/568ZhdwyaiCyOGJRtNYhWf/albums?offset=0&amp;amp;limit=20&amp;amp;market=FI&amp;amp;locale=fi,en;q%3D0.9,en-GB;q%3D0.8,en-US;q%3D0.7&amp;amp;include_groups=album" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/568ZhdwyaiCyOGJRtNYhWf/albums?offset=0&amp;amp;limit=20&amp;amp;market=FI&amp;amp;locale=fi,en;q%3D0.9,en-GB;q%3D0.8,en-US;q%3D0.7&amp;amp;include_groups=album&lt;/A&gt;",&lt;BR /&gt;"limit": 20,&lt;BR /&gt;"next": "&lt;A href="https://api.spotify.com/v1/artists/568ZhdwyaiCyOGJRtNYhWf/albums?offset=20&amp;amp;limit=20&amp;amp;market=FI&amp;amp;locale=fi,en;q%3D0.9,en-GB;q%3D0.8,en-US;q%3D0.7&amp;amp;include_groups=album" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/568ZhdwyaiCyOGJRtNYhWf/albums?offset=20&amp;amp;limit=20&amp;amp;market=FI&amp;amp;locale=fi,en;q%3D0.9,en-GB;q%3D0.8,en-US;q%3D0.7&amp;amp;include_groups=album&lt;/A&gt;",&lt;BR /&gt;"offset": 0,&lt;BR /&gt;"previous": null,&lt;BR /&gt;"total": 349,&lt;BR /&gt;"items": [&lt;BR /&gt;{&lt;BR /&gt;"album_type": "album",&lt;BR /&gt;"total_tracks": 13,&lt;BR /&gt;"is_playable": true,&lt;BR /&gt;"external_urls": {&lt;BR /&gt;"spotify": "&lt;A href="https://open.spotify.com/album/4wSHMlOxOpLLs1boWeAteq" target="_blank" rel="noopener"&gt;https://open.spotify.com/album/4wSHMlOxOpLLs1boWeAteq&lt;/A&gt;"&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that total value is for all album_types:&amp;nbsp;"album",&amp;nbsp;"single",&amp;nbsp;"compilation"&lt;/P&gt;&lt;P&gt;but if request is limited to "album_type": "album" only, the total value should show the total number of albums.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously this has worked correctly, but I noticed this issue two weeks ago&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 09:36:37 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/api-returns-wrong-total-value/m-p/6436235#M15239</guid>
      <dc:creator>veskempp</dc:creator>
      <dc:date>2024-10-14T09:36:37Z</dc:date>
    </item>
  </channel>
</rss>

