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

Consistent 429 error after infinite loop bug

Consistent 429 error after infinite loop bug

I had an infinite loop show up in my app that called spotify a ton of times. I fixed it quickly, but not my app is broken and my call (to get 'https://api.spotify.com/v1/me/playlists') is always returning a 429. What happened? How can I resolve this?

 

Reply
1 Reply

When your app has been rate limited it will receive a 429 error response from Spotify. Your app can use this information as a cue to slow down the number of API requests that it makes to the Web API. The header of the 429 response will normally include a Retry-After header with a value in seconds. Consider waiting for the number of seconds specified in Retry-After before your app calls the Web API again. (Source)

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts