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...
I'm writing a simple application that calls the /v1/recommendations endpoint and a few others. The app is in very early development mode--I'm the only "user" while I'm developing and testing.
Now it seems my app is rate-limited for the /v1/recommendations and /v1/recommendations/available-genre-seeds endpoints, even though it worked yesterday. When I call them (using the spotipy wrapper), I either get read timeouts or this exception is raised:
"""
spotipy.exceptions.SpotifyException: http status: 429, code:-1 - /v1/recommendations?limit=100&seed_artists=... (etc)
Max Retries, reason: too many 504 error responses
"""
So, two questions:
1) I'm a little confused about the primary cause of the 504 status. Did I call the endpoint too many times? Or would the 504 be a gateway error unrelated to my code? Or something else?
2) If my app is rate-limited, how long would I have to wait before making another call to /v1/recommendations endpoints to ensure that read timeouts, 429, and 504 are not received?