<?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: too many requests .... but made only 5 in a day.. in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/too-many-requests-but-made-only-5-in-a-day/m-p/6374478#M15103</link>
    <description>&lt;P&gt;hi thanks - aha yeah that was just an example, i mostly use /tracks - and the way it works is a text box where you type in a search term, that goes to search, finds a track and gets the track from the track end point and plays it... Even so i then listen to the track (3+ minutes) before getting another one... So can't understand how thats hitting a rate limit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2024 17:55:06 GMT</pubDate>
    <dc:creator>lh49</dc:creator>
    <dc:date>2024-09-24T17:55:06Z</dc:date>
    <item>
      <title>too many requests .... but made only 5 in a day..</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/too-many-requests-but-made-only-5-in-a-day/m-p/6372991#M15097</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;Just getting started with the API, i spent yesterday having great progress, everything worked smoothly. I probably called the API lets say &amp;lt;100 times over the space of 8 hours. Went to bed, woke up, ran my script and immediately had "rate limited". I have tried this in python, node and curl and always the same.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;curl -i&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;"&lt;A href="https://api.spotify.com/v1/artists/4Z8W4fKeB5YxbusRsdQVPb" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/artists/4Z8W4fKeB5YxbusRsdQVPb&lt;/A&gt;" \&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;-H "Authorization: Bearer XXX "&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;HTTP/2 429 &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;cache-control&lt;/STRONG&gt;: private, max-age=0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;retry-after&lt;/STRONG&gt;: 16853&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;access-control-allow-origin&lt;/STRONG&gt;: *&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;access-control-allow-headers&lt;/STRONG&gt;: Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version, X-Cloud-Trace-Context, client-token, content-access-token&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;access-control-allow-methods&lt;/STRONG&gt;: GET, POST, OPTIONS, PUT, DELETE, PATCH&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;access-control-allow-credentials&lt;/STRONG&gt;: true&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;access-control-max-age&lt;/STRONG&gt;: 604800&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;content-length&lt;/STRONG&gt;: 17&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;strict-transport-security&lt;/STRONG&gt;: max-age=31536000&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;x-content-type-options&lt;/STRONG&gt;: nosniff&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;date&lt;/STRONG&gt;: Tue, 24 Sep 2024 10:34:02 GMT&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;server&lt;/STRONG&gt;: envoy&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;via&lt;/STRONG&gt;: HTTP/2 edgeproxy, 1.1 google&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;alt-svc&lt;/STRONG&gt;: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT face="courier new,courier" size="2" color="#000000"&gt;&lt;SPAN class=""&gt;Too many requests&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;So i understand rate limits etc. But i dont understand how this is the case 12hours later after my last API call (which went fine with no issues), after a day where I only did max 100 calls in that day... I immediately get 429. I don't want to raise a quota raise request as (1) I can't as i dont meet the criteria and (2) I really dont think thats the issue, I should be well within the limits at such a low rate.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I made a new app to get a new client/secret but that had the same effect.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Anyone seen this before? Anyone have any guidance?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Much appreciated!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;/lee&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&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;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Free/Premium&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;(iOS 10, Android&amp;nbsp;Oreo, Windows 10,etc.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 10:37:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/too-many-requests-but-made-only-5-in-a-day/m-p/6372991#M15097</guid>
      <dc:creator>lh49</dc:creator>
      <dc:date>2024-09-24T10:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: too many requests .... but made only 5 in a day..</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/too-many-requests-but-made-only-5-in-a-day/m-p/6373518#M15100</link>
      <description>&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see you are using the /artists endpoint, but only requesting the data from only one artist.&lt;/P&gt;&lt;P&gt;With the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/get-multiple-artists" target="_blank" rel="noopener"&gt;Get Several Artists&lt;/A&gt; endpoint, you can request the data from up to 50 artists at once. This will reduce the amount of requests significantly, and you will trigger the rate limit less often this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps, and if you have other questions.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 13:12:06 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/too-many-requests-but-made-only-5-in-a-day/m-p/6373518#M15100</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2024-09-24T13:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: too many requests .... but made only 5 in a day..</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/too-many-requests-but-made-only-5-in-a-day/m-p/6374478#M15103</link>
      <description>&lt;P&gt;hi thanks - aha yeah that was just an example, i mostly use /tracks - and the way it works is a text box where you type in a search term, that goes to search, finds a track and gets the track from the track end point and plays it... Even so i then listen to the track (3+ minutes) before getting another one... So can't understand how thats hitting a rate limit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 17:55:06 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/too-many-requests-but-made-only-5-in-a-day/m-p/6374478#M15103</guid>
      <dc:creator>lh49</dc:creator>
      <dc:date>2024-09-24T17:55:06Z</dc:date>
    </item>
  </channel>
</rss>

