#Getting HTTP 401 from Spotify
11 messages · Page 1 of 1 (latest)
Please continue adding more information into this thread.
You should include the following information:
Eg. 4.0.0
Eg. Windows 22H2
Please include Spotify links.
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
On Arch Linux, on a checkout of https://github.com/spotDL/spotify-downloader/pull/2128 with PR 2120 merged in and the failing cassettes deleted.
Command:
python -m pytest --record-mode=once tests/test_matching.py
(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"?
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.
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)
specifically:
- Outside my chroot, I just get 4 failures to find matches for songs
- On the first run in my chroot, I get 27 nonspecific failures (23 aren't even logged by
pytest --log-file, 2 complain that they want to overwrite the existing cassette) - On subsequent runs in the chroot, I get the 4 match failures + 3 YT-DLP failures