#Getting HTTP 401 from Spotify

11 messages · Page 1 of 1 (latest)

tall blade
#

Hi, I'm working on #2128, and for some reason Spotify has started giving me 401 responses, blocking me from getting the last few caches. Should I just wait, or have I ruined the api keys for everyone?

cunning siloBOT
#
spotDL Support

Please continue adding more information into this thread.
You should include the following information:

spotDL Version

Eg. 4.0.0

Operating System

Eg. Windows 22H2

The Command You Ran

Please include Spotify links.

Screenshots or Pasted Error Messages

Only send these if they are relevant.

To send pasted error messages use three backticks (```)
Here's info on how to use code blocks.

#

@tall blade

tall blade
#

(Besides which, the test seems pretty flaky - I don't always get the same errors, even using vcrpy)

#

hm. checking the error logs, it's due to "the access token expired"?

tall blade
# tall blade (Besides which, the test seems pretty flaky - I don't always get the same errors...

eg case in point, the ISRC search for https://open.spotify.com/track/6fyzS9YbkUhmEmJ52s19Ob yields no results, yet when I try to run it independently I do correctly obtain https://music.youtube.com/watch?v=OtdCiuyE40g

Provided to YouTube by Space Shower FUGA

光 · Ai Kamano · Kazuki Sugawara

℗ 2022 anre*f records

Released on: 2022-11-09

Music Publisher: anre*f records
Lyricist: Kazuki Sugawara
Composer: Ai Kamano
Composer: Kazuki Sugawara
Composer: Kazuki Sugawara, Ai Kamano

Auto-generated by YouTube.

▶ Play video
#

Weirdly enough, I'm getting inconsistent results even with --recording-mode=none --block-network -- sometimes, cassettes that should work cause test failures

#

also, for some reason, I'm inconsistently getting YT-DLP download error on a couple of the test cases

#

(even though if I try to download the respective videos with yt-dlp, I get no trouble)

tall blade