Announcements

Help Wizard

Step 1

NEXT STEP

SPOTIPY: Capture HTTP response header Retry-After value

SPOTIPY: Capture HTTP response header Retry-After value

Does anyone know how to capture the HTTP response header "Retry-After" value using Spotipy?
I use Spotipy"audio_features" module , I issued too many requests and finally occured 249 error, temporaily banned.
I would like to know when the ban is cancelled via "Retry-After" value. But I understand that Spotipy module covers the bare http request/response and  can't capture the HTTPError by normal try-except code.

 

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you, ย  Yeah, you!ย 😁 ย  Welcome - we're glad you joined the Spotify Community! ย  While you here, let's have a fun game and getโ€ฆ

ModeratorStaff / Moderator/ 4 years ago  in Social & Random