<?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: Problem with requesting Tracks from Album in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5243329#M3039</link>
    <description>Why don't you post a link to your entire project?</description>
    <pubDate>Tue, 03 Aug 2021 16:26:40 GMT</pubDate>
    <dc:creator>Peter_Schorn</dc:creator>
    <dc:date>2021-08-03T16:26:40Z</dc:date>
    <item>
      <title>Problem with requesting Tracks from Album</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5238383#M2977</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;Germany&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hello,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I'm developing now an app/website using the Spotify API with the low code platform N8N (n8n.io). I have a problem to get Tracks from an Album and I always get the following response:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR: The service is receiving too many requests from you! Perhaps take a break?
API rate limit exceeded
 Details
Time
7/22/2021, 6:54:18 PM
HTTP-Code
429
Cause
Data below may contain sensitive information. Proceed with caution when sharing.
{
"name": "StatusCodeError",
"statusCode": 429,
"message": "429 - {"error":{"status":429,"message":"API rate limit exceeded"}}",
"error": {
"error": {
"status": 429,
"message": "API rate limit exceeded"
}
},
"options": {
"timeout": 300000,
"method": "GET",
"headers": {
"User-Agent": "n8n",
"Content-Type": "text/plain",
"Accept": " application/json",
"Authorization": "Bearer BQCeWA7MXzh2-YRaNQHzA4b6-YClwZ9-0G6c4BmntKr4igE8-5f4wiapcvhv4PzmGMQLkSIYN3CbWETDpA3MhooSfS-6SWv_jMKpBb1JYL3s51DfevjoQPx4EGFEGKIcHJIFM0S1Vk6jRzKgVk83-hMSzb2wv6UAqF7-pEUX8Lc31tD5hKSVi9kI8rMQDs21WEGHll-j9ONgdcTeJZM_Rb_USgjPQkJuHWH53g"
},
"qs": {
},
"uri": "https://api.spotify.com/v1/albums/0qujii0JVDkdhkkqycvzgX/tracks",
"json": true,
"simple": true,
"resolveWithFullResponse": false,
"transform2xxOnly": false
},
"response": {
"statusCode": 429,
"body": {
"error": {...} // 2 keys
},
"headers": {
"access-control-allow-origin": "*",
"access-control-allow-headers": "Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version, X-Cloud-Trace-Context, client-token, content-access-token",
"access-control-allow-methods": "GET, POST, OPTIONS, PUT, DELETE, PATCH",
"access-control-allow-credentials": "true",
"access-control-max-age": "604800",
"retry-after": "4",
"access-control-expose-headers": "Retry-After",
"content-length": "80",
"strict-transport-security": "max-age=31536000",
"x-content-type-options": "nosniff",
"vary": "Accept-Encoding",
"date": "Thu, 22 Jul 2021 16:54:17 GMT",
"server": "envoy",
"via": "HTTP/2 edgeproxy, 1.1 google",
"alt-svc": "clear",
"connection": "close"
},
"request": {
"uri": {...}, // 12 keys
"method": "GET",
"headers": {...} // 4 keys
}
}
}
Stack
NodeApiError: The service is receiving too many requests from you! Perhaps take a break?
    at Object.spotifyApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Spotify/GenericFunctions.js:25:15)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Object.spotifyApiRequestAllItems (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Spotify/GenericFunctions.js:34:24)
    at async Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Spotify/Spotify.node.js:1158:32)
    at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:424:47&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I know that one of my scripts was out of control and for sure hit an API limit, but that is already fixed and was 1 month ago. Also all other requests are working fine and thats why I thought that this is maybe a bug and no longer a problem of the limit.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My client ID:&amp;nbsp;b0e97f16d6ac43f8874e3ba8379977c6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I hope you can help with this so that I can continue my development as soon as possible.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks in advance &amp;amp; Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ottic&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 17:01:33 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5238383#M2977</guid>
      <dc:creator>ottic</dc:creator>
      <dc:date>2021-07-22T17:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with requesting Tracks from Album</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5241386#M3021</link>
      <description>This is not working for 5 weeks now. Can anyone take a look, so that I can continue my development?</description>
      <pubDate>Thu, 29 Jul 2021 17:34:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5241386#M3021</guid>
      <dc:creator>ottic</dc:creator>
      <dc:date>2021-07-29T17:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with requesting Tracks from Album</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5241558#M3022</link>
      <description>&lt;P&gt;Based on the error, you're still getting rate limited. You need to find a way to reduce the number of requests you make. Note that there is a "retry-after" header which tells you how many seconds you have to wait until you retry the request. In this example, you have to wait 4 seconds.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 00:45:10 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5241558#M3022</guid>
      <dc:creator>Peter_Schorn</dc:creator>
      <dc:date>2021-07-30T00:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with requesting Tracks from Album</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5241664#M3024</link>
      <description>Thanks a lot for reply. I know about the "retry-after" information. The problem is that I cannot read even 1 single item from the endpoint "Get an Album's Tracks". So there must be some other problem.</description>
      <pubDate>Fri, 30 Jul 2021 09:28:46 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5241664#M3024</guid>
      <dc:creator>ottic</dc:creator>
      <dc:date>2021-07-30T09:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with requesting Tracks from Album</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5243276#M3038</link>
      <description>&lt;P&gt;I really hope that there is someone out there who can help me with this subject from the Spotify staff. Or is there any E-Mail or Ticket System that I should use instead of this forum for developer problems?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 14:14:24 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5243276#M3038</guid>
      <dc:creator>ottic</dc:creator>
      <dc:date>2021-08-03T14:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with requesting Tracks from Album</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5243329#M3039</link>
      <description>Why don't you post a link to your entire project?</description>
      <pubDate>Tue, 03 Aug 2021 16:26:40 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5243329#M3039</guid>
      <dc:creator>Peter_Schorn</dc:creator>
      <dc:date>2021-08-03T16:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with requesting Tracks from Album</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5244871#M3062</link>
      <description>The idea behind the app is to extract information about new music releases from various websites, automatically generate a Spotify playlist updates from them every week for several genres and post the generated lists on a website (+app). A preview I experimented with is available here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://newreleases.antibiottics.de/" target="_blank"&gt;https://newreleases.antibiottics.de/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Only getting Tracks from an Album is not working. The other requests to the API work fine.&lt;BR /&gt;&lt;BR /&gt;It's not an IP block, I checked that already and changed the Server IP at Digital Ocean.</description>
      <pubDate>Fri, 06 Aug 2021 15:43:58 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5244871#M3062</guid>
      <dc:creator>ottic</dc:creator>
      <dc:date>2021-08-06T15:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with requesting Tracks from Album</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5244954#M3063</link>
      <description>&lt;P&gt;I have now found a possible reason for the problem. As mentioned before, I am using the low-code environment n8n (n8n.io). The problem arises when I have the "Return All" switch turned on in the Spotify node there.&lt;/P&gt;&lt;P&gt;If I set "Return 50 Tracks" instead, it works and that is enough for me to continue working.&lt;/P&gt;&lt;P&gt;If anyone is still interested in the problem here is a link to the N8N forum where I posted my findings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.n8n.io/t/spotify-node-possible-problem-with-get-track-from-album/7133" target="_self"&gt;https://community.n8n.io/t/spotify-node-possible-problem-with-get-track-from-album/7133&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks @&amp;nbsp;&lt;A href="https://community.spotify.com/t5/user/viewprofilepage/user-id/23326530" target="_self"&gt;&lt;SPAN class=""&gt;Peter_Schorn&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 19:34:56 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Problem-with-requesting-Tracks-from-Album/m-p/5244954#M3063</guid>
      <dc:creator>ottic</dc:creator>
      <dc:date>2021-08-06T19:34:56Z</dc:date>
    </item>
  </channel>
</rss>

