Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Rate limit per user

Rate limit per user

Hello,


We have an application where users connects with their spotify account and they can make multiple requests on playlists(fetch, insert, update) on their Spotify accounts through API.
After a number of requests (usually couple hundred) that works fine, we start to receive a 429 status code from API. This error persist all day and only a small number of requests for that user pass from that point (other users can make requests). From documentation, we understand that rate limit is applied on "rolling 30 seconds window" but this is not consistent with what we receive because requests are not successfully even after couple hours. Usually next day it resets.
There is a defined limit on application - user relation that lasts for a longer time? Can be increased?


The response from API is like below and does not contain retry-after header.


"{"body":null,"headers":{"cache-control":"private, max-age=0","x-robots-tag":"noindex, nofollow","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","content-length":"0","strict-transport-security":"max-age=31536000","x-content-type-options":"nosniff","date":"Tue, 07 Dec 2021 07:27:29 GMT","server":"envoy","via":"HTTP\/2 edgeproxy, 1.1 google","alt-svc":"clear"},"status":429,"url":"https:\/\/api.spotify.com\/v1\/playlists\/6UTlL5czPyNep965sJQ5zj"}"


We've applied for quota extension and was approved.


Thank you

Reply
1 Reply

I waited 4 hours. tried a call. overnight. Tried a call. Waited 4 more hours. Tried a call. Waited another 4 hours. Tried a call. Waited 2 hours. Tried a call. ALL of them were 429. Whatever the case, more transparency would be appreciated.

Suggested posts