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

Who Me Too'd this topic

Max retries reached, too many 429 error responses on 'audio_features' endpoint only

Plan

Premium

Country

Philippines

 

My Question or Issue

My first app worked earlier. But after one loop through a 700-song playlist, it started giving me an Error 429. Normally this would be fine, but there's also no 'Retry-After' in the HTTPS response header. It's been six hours and I still get the same error.

I asked my friend to re-create my app in their account and try to run my program, but even on a newly created Spotify Developer account and a newly generated client id/secret, the same error occurs.

 

 

# this works and returns me tracks from the playlist_id
response = sp.playlist_items(playlist_id)
print(response)

# but this gives me an http status code 429
response = sp.audio_features(song_id)
print(response)

 


The whole error:

 

 

Max Retries reached
urllib3.exceptions.ResponseError: too many 429 error responses

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
...
...
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/audio-features/?ids=4TTV7EcfroSLWzXRY6gLv6 (Caused by ResponseError('too many 429 error responses'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
...
requests.exceptions.RetryError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/audio-features/?ids=4TTV7EcfroSLWzXRY6gLv6 (Caused by ResponseError('too many 429 error responses'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
...
spotipy.exceptions.SpotifyException: http status: 429, code:-1 - /v1/audio-features/?ids=4TTV7EcfroSLWzXRY6gLv6:
 Max Retries, reason: too many 429 error responses

 

 

Who Me Too'd this topic