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

Jupyter Kernel Freezes using spotipy

Jupyter Kernel Freezes using spotipy

My Question or Issue

 

I am using the spotify API for developers for school. I am doing a data cleaning class and the algorithm I have I do send a lot of requests but not enough to be considered a threat (as I believe). 

 

It works sometimes however, half way through my algorithm spotipy the search function hangs the python3 kernel up in the jupyter notebook with no error. Once the python3 kernel is hung up it has to be killed. 

Reply
3 Replies

Does this answer your question: https://developer.spotify.com/documentation/web-api/concepts/rate-limits

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.

Ive read that, and not really. 

 

- I'm not getting a 429 error, its just freezing. 

- If it is that, its just refusing me service for a day it seems like. 

 

I can certainly slow it down, its just not apparent to me that I am being rate limited because theres no error propogating in the python code for me to observe, only that its frozen. 

It turns out I was hitting the rate limit but the python module spotipy was not throwing an error, it would just linger forever errorless.

Suggested posts

Staff
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…

Staff
ModeratorStaff / Moderator/ 4 years ago  in Social & Random

Type a product name