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

Getting sudden 429 errors on my project

Getting sudden 429 errors on my project

My app which uses the '/me' and '/me/tracks' endpoints has suddenly started giving me 429 rate limit errors. My app was working fine until a few hours ago.

Did I get rate limited?

Reply
1 Reply

Yeah, unless something has gone very buggy with the API, you've been rate-limited. If you check the response's headers, there should be a "Retry-After" header, which will give a value in seconds for how long you should wait before trying again.

If you continue to send requests before this header suggests, Spotify is likely to "punish" you by extending the "Retry-After" time with subsequent calls. I'd just look at the header and see how long it says, I've never seen it go beyond 24hrs.

Suggested posts