<?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 Pagination error while consuming the API: https://api.spotify.com/v1/artists/{spotifyId}/albums in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Pagination-error-while-consuming-the-API-https-api-spotify-com/m-p/6351475#M15053</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Brazil&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DELL-G15&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;BR /&gt;&lt;BR /&gt;When using the API responsible for searching for an artist's albums. Having the pathVariable spotfyId as a parameter. The pagination is not bringing all the items. Below is a request that was used as a base. Its return should be 10 items. However, it only brings 5 ​​items. Also passing the OFFSET equal to 40 based on the same request, it only brings 3 items instead of 10. You must insert the access token to complete the request.&lt;BR /&gt;&lt;BR /&gt;Requests Examples:&lt;BR /&gt;&lt;BR /&gt;curl --location '&lt;A href="https://api.spotify.com/v1/artists/2ye2Wgw4gimLv2eAKyk1NB/albums?limit=10&amp;amp;offset=40" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/2ye2Wgw4gimLv2eAKyk1NB/albums?limit=10&amp;amp;offset=40&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer &amp;lt;TOKEN&amp;gt;&lt;BR /&gt;&lt;BR /&gt;curl --location '&lt;A href="https://api.spotify.com/v1/artists/2ye2Wgw4gimLv2eAKyk1NB/albums?limit=10&amp;amp;offset=20" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/2ye2Wgw4gimLv2eAKyk1NB/albums?limit=10&amp;amp;offset=20&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer &amp;lt;TOKEN&amp;gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 22:58:10 GMT</pubDate>
    <dc:creator>mzic</dc:creator>
    <dc:date>2024-09-17T22:58:10Z</dc:date>
    <item>
      <title>Pagination error while consuming the API: https://api.spotify.com/v1/artists/{spotifyId}/albums</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Pagination-error-while-consuming-the-API-https-api-spotify-com/m-p/6351475#M15053</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Brazil&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DELL-G15&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;BR /&gt;&lt;BR /&gt;When using the API responsible for searching for an artist's albums. Having the pathVariable spotfyId as a parameter. The pagination is not bringing all the items. Below is a request that was used as a base. Its return should be 10 items. However, it only brings 5 ​​items. Also passing the OFFSET equal to 40 based on the same request, it only brings 3 items instead of 10. You must insert the access token to complete the request.&lt;BR /&gt;&lt;BR /&gt;Requests Examples:&lt;BR /&gt;&lt;BR /&gt;curl --location '&lt;A href="https://api.spotify.com/v1/artists/2ye2Wgw4gimLv2eAKyk1NB/albums?limit=10&amp;amp;offset=40" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/2ye2Wgw4gimLv2eAKyk1NB/albums?limit=10&amp;amp;offset=40&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer &amp;lt;TOKEN&amp;gt;&lt;BR /&gt;&lt;BR /&gt;curl --location '&lt;A href="https://api.spotify.com/v1/artists/2ye2Wgw4gimLv2eAKyk1NB/albums?limit=10&amp;amp;offset=20" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/2ye2Wgw4gimLv2eAKyk1NB/albums?limit=10&amp;amp;offset=20&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer &amp;lt;TOKEN&amp;gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 22:58:10 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Pagination-error-while-consuming-the-API-https-api-spotify-com/m-p/6351475#M15053</guid>
      <dc:creator>mzic</dc:creator>
      <dc:date>2024-09-17T22:58:10Z</dc:date>
    </item>
  </channel>
</rss>

