You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code was working perfectly earlier, but it randomly stopped working. I have SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET, and SPOTIPY_REDIRECT_URI all defined as environment variables. When I run functions such as sp.current_user_top_tracks(), sp.artist(), and others, they all work fine.
When I run sp.recommendations(), nothing gets returned or printed; I get no error message, the program just hangs indefinitely. I have to restart visual studio to be able to run anything again. Again, I was having no issues with sp.recommendations() a few hours ago. I genuinely do not know what happened.
Thanks in advance
The text was updated successfully, but these errors were encountered:
Wow i have this same issue with the function "sp.track(track_id)" have you found a solution?
I did not find a solution unfortunately. I think it is a rate limit like dieser-niko said. If I stop running the function for 30-60 mins it starts working again.
This code was working perfectly earlier, but it randomly stopped working. I have SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET, and SPOTIPY_REDIRECT_URI all defined as environment variables. When I run functions such as sp.current_user_top_tracks(), sp.artist(), and others, they all work fine.
When I run sp.recommendations(), nothing gets returned or printed; I get no error message, the program just hangs indefinitely. I have to restart visual studio to be able to run anything again. Again, I was having no issues with sp.recommendations() a few hours ago. I genuinely do not know what happened.
Thanks in advance
The text was updated successfully, but these errors were encountered: