Comments (10)
That doesn't sound promising. I'll leave this issue open, even though this problem is not caused by spotipy. If there are any updates, please post them here.
I've also been experimenting a bit myself. First I created a playlist, because it's much easier to fill a playlist with a bunch of songs. Got up to 11,000, but no errors yet. Then I used my second account and around the 24,000 mark I got a code 500 with a "server error" message. So only partially reproducible, as I didn't get the same error you did.
Not sure why I did this because it was clear to me that I couldn't fix anything about it, but yeah.. At least partially reproducible.
from spotipy.
That response indicates that you have reached the rate limit of spotify API.
https://developer.spotify.com/documentation/web-api/concepts/rate-limits
from spotipy.
I'm going to close the issue as Spotify doesn't seem to be doing anything about it. However, I have noticed on my alt account that I can no longer access my liked songs in the app, so maybe if you ask Spotify support they will do something about this and fix the API along the way. Maybe..
from spotipy.
You could try posting to the Spotify Community forum with the same question.
Your script seems to be fine, and you said yourself that it wasn't working in the documentation, which suggests that this is not a problem with spotipy.
from spotipy.
You could try posting to the Spotify Community forum with the same question.
I have, but, unfortunately, the post never received a response. I have emailed Spotify's support back and forth, a few times, but I've yet to find a solution.
from spotipy.
Uhm.. no. There may be an internal rate limit, but it has nothing to do with the rate limit the documentation is talking about.
In this case it is not the application's fault.
I have already made sure that this is not a typical bug. Next time please read the comments.
from spotipy.
I was bored and poked around in the Web API documentation and found that the request goes through sometimes. So I guess a possible workaround would be to send multiple requests until you get a valid answer.
from spotipy.
@K4LCIFER Can you check if this is the same for you? You got a different error than I did, so I'm not 100% sure if this applies to you.
from spotipy.
I tried it two ways: I ran the python script, which utilized spotipy, multiple times, and I tried the Spotify Web API documentation's API tester thing multiple times. In both cases I sent the request 30ish times, but they all responded with error 500.
from spotipy.
So it seems that the number of retries (default args) varies. First I only had to do 5, then 8, then 30, then 2, then 6.
Maybe you were unlucky, or maybe the extra 15k songs in your library are causing even more problems.
from spotipy.
Related Issues (20)
- Get Artist's Albums now expects "include_groups" param instead of "album_type" HOT 1
- Documentation Section Suggestion: “A Quick Tutorial To Get Started” HOT 2
- Simple spelling error in documentation
- Improve 'util.py' with function docstrings HOT 4
- the playlist function stopped working between yesterday and today HOT 5
- API Reference Refers to Deprecated Methods HOT 2
- Update Directions In TUTORIAL.md
- Documentation for version 2.23.0 not available HOT 8
- Current 2.23.0 install from pip doesn't include latest code HOT 4
- Update Directions and Content of CONTRIBUTING.md HOT 1
- Backend terminal shows: " Enter the URL you were redirected to: " HOT 5
- Adding a custom date range for users top tracks and top artist HOT 1
- Account Creation Timestamp field HOT 2
- Any way to play a playlist? Without premium if possible. HOT 1
- Podcast transcript HOT 1
- How spotipy have to be setted for deploying? HOT 1
- How do I start playback on the command line/headless? HOT 6
- Invalidate cache if the credentials change (or the credentials become invalid) HOT 3
- An error occurred: can only concatenate tuple (not "str") to tuple when using Spotipy functions HOT 7
- Move linting/code style checks to a separate test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotipy.