Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Plan
Premium
Country
Device
Desktop
Operating System
Linux
My Question or Issue
I am trying to simply retrieve a song from my libary using the API, but I am receiving an error code 500.
import spotipy
from spotipy.oauth2 import SpotifyOAuth
scope = "user-library-read user-read-recently-played"
sp = spotipy.Spotify(auth_manager=SpotifyOAuth(client_id="<client_id>", client_secret="<client_secret>", redirect_uri="<redirect_uri>", scope=scope))
print(sp.current_user_saved_tracks(market="<market>", limit=1))
The above code results in the following error:
Max Retries, reason: too many 500 error responses
What's causing this issue?