Hi everyone,
I am trying to debug the exercises 4 and 5. Exercise 4 managed to run smoothly with the response_status code of 200.
Requesting to: https://api.spotify.com/v1/browse/new-releases?offset=20&limit=20
200
Requesting to: https://api.spotify.com/v1/browse/new-releases?offset=40&limit=20
200
Requesting to: https://api.spotify.com/v1/browse/new-releases?offset=60&limit=20
200
Requesting to: https://api.spotify.com/v1/browse/new-releases?offset=80&limit=20
200
However, the Exercise 5 returned a status_code of 404 instead.
Getting information about each album
Requesting to: https://api.spotify.com/v1/browse/new-releases/1Mo4aZ8pdj6L1jx8zSwJnt/tracks
response <Response [404]>
404
Error occurred during request: Expecting value: line 1 column 1 (char 0)
Album 1Mo4aZ8pdj6L1jx8zSwJnt has been processed successfully
Requesting to: https://api.spotify.com/v1/browse/new-releases/7MNrrItJpom6uMJWdT0XD8/tracks
response <Response [404]>
404
Error occurred during request: Expecting value: line 1 column 1 (char 0)
Album 7MNrrItJpom6uMJWdT0XD8 has been processed successfully
Requesting to: https://api.spotify.com/v1/browse/new-releases/4YQ8O3PQb7cZnnLeqNPaa1/tracks
response <Response [404]>
404
Error occurred during request: Expecting value: line 1 column 1 (char 0)
Album 4YQ8O3PQb7cZnnLeqNPaa1 has been processed successfully
Requesting to: https://api.spotify.com/v1/browse/new-releases/4MGpOqMU3FlZ7li35laoBu/tracks
response <Response [404]>
404
From my understanding, Spotify changed their apis line-up as of 27 November 2024 with this link
How do I debug the code then for this lab assignment? Thanks!
My lab code is bfgqrlpvkggc.