Closed Esamanoaz closed 4 years ago
The problematic code was working today on my windows 10 laptop but as of now I receive the same error and it will not work. Strange.
OH MY GOSH. :(
I have been giving Spotify a lowercase 'r' instead of an uppercase 'R' when I have been giving queries for album uris.
Don't change the case of the uris guys and gals, it messes everything up.
Describe the bug When I try to run the
album_tracks
I get the error: 404 non existing idYour code This paste has my authorization code and the code that is giving an error.
Expected behavior The program should run
album_tracks
and pass the dictionary it returns into a function calledconstruct_uris
.construct_uris
then creates a list of track uris. Finally, the program should start playback of those songs.Output
HTTP Error for GET to https://api.spotify.com/v1/albums/2widuo17g5cec66ibzveru/tracks/ returned 404 due to non existing id
http status: 404, code:-1 - https://api.spotify.com/v1/albums/2widuo17g5cec66ibzveru/tracks/?limit=50&offset=0&market=US:
non existing id, reason: None
Environment:
Additional context I ran my code on a windows 10 laptop and the code worked fine. I transferred it to a raspberry pi and it no longer works. This is very frustrating because minutes ago it worked fine!