aw-watcher-spotify
aw-watcher-spotify copied to clipboard
Couldn't write token to cache
Hey,
after configuring and starting aw-watcher-spotify, I get the error WARNING:spotipy.cache_handler:Couldn't write token to cache at: .cache-anghenfil
And when playing a song the it results in a 403 Client Error: Forbidden for url error.
Best anghenfil
I'm getting the same error. Did you ever manage to fix it?
What's your OS?
I'm on a Mac Mini M4 (base model)
Sounds like a Spotipy error, had issues similar to this one years back on linux. Try changing the spotipy version in the pyproject.toml,
spotipy = "^2.25.1"
and poetry install and run the code again.
thanks for the advise but i already had spotipy 2.25.1 installed! I'm still having the issue.
I installed the watcher, I can replicate this too. I believe Spotify recently updated their API, I'll check into this. If I fix it I'll update the issue, it's actually related to the error 403 and not the cache, spotipy still runs despite not writing the cache.
I would really appreciate it! I haven't gotten the change to look into this myself.