<?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 Error parsing fields when requesting tracks.limit in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Error-parsing-fields-when-requesting-tracks-limit/m-p/5391203#M4793</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Czechia&lt;/P&gt;&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;Hi! It seems there is a problem when specifying "tracks.limit" field when calling &lt;A href="https://developer.spotify.com/console/get-playlist" target="_self"&gt;get playlist&lt;/A&gt;&amp;nbsp;endpoint (haven't tried others).&lt;/P&gt;&lt;P&gt;You can request all other fields like this: "tracks.offset,tracks.next,tracks.total,tracks.previous"&lt;/P&gt;&lt;PRE&gt;{
  "tracks": {
    "next": null,
    "offset": 0,
    "previous": null,
    "total": 30
  }
}&lt;/PRE&gt;&lt;P&gt;but once you add "tracks.limit" (or request only this one), it returns:&lt;/P&gt;&lt;PRE&gt;{
  "error": {
    "status": 400,
    "message": "Error parsing parameter: fields"
  }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;When calling it without specifying fields, the "limit" field exists there:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leoshusar_0-1654636289174.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/141591i00CCCF5BB9507629/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leoshusar_0-1654636289174.png" alt="leoshusar_0-1654636289174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 21:15:39 GMT</pubDate>
    <dc:creator>leoshusar</dc:creator>
    <dc:date>2022-06-07T21:15:39Z</dc:date>
    <item>
      <title>Error parsing fields when requesting tracks.limit</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Error-parsing-fields-when-requesting-tracks-limit/m-p/5391203#M4793</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Czechia&lt;/P&gt;&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;Hi! It seems there is a problem when specifying "tracks.limit" field when calling &lt;A href="https://developer.spotify.com/console/get-playlist" target="_self"&gt;get playlist&lt;/A&gt;&amp;nbsp;endpoint (haven't tried others).&lt;/P&gt;&lt;P&gt;You can request all other fields like this: "tracks.offset,tracks.next,tracks.total,tracks.previous"&lt;/P&gt;&lt;PRE&gt;{
  "tracks": {
    "next": null,
    "offset": 0,
    "previous": null,
    "total": 30
  }
}&lt;/PRE&gt;&lt;P&gt;but once you add "tracks.limit" (or request only this one), it returns:&lt;/P&gt;&lt;PRE&gt;{
  "error": {
    "status": 400,
    "message": "Error parsing parameter: fields"
  }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;When calling it without specifying fields, the "limit" field exists there:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leoshusar_0-1654636289174.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/141591i00CCCF5BB9507629/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leoshusar_0-1654636289174.png" alt="leoshusar_0-1654636289174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 21:15:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Error-parsing-fields-when-requesting-tracks-limit/m-p/5391203#M4793</guid>
      <dc:creator>leoshusar</dc:creator>
      <dc:date>2022-06-07T21:15:39Z</dc:date>
    </item>
  </channel>
</rss>

