mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #575] 404 error "non existing id" code worked literally minutes ago and now is broken #345
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#345
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Esamanoaz on GitHub (Sep 13, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/575
Describe the bug
When I try to run the
album_tracksI get the error:404 non existing id
Your code
This paste has my authorization code and the code that is giving an error.
Expected behavior
The program should run
album_tracksand pass the dictionary it returns into a function calledconstruct_uris.construct_uristhen 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 idhttp status: 404, code:-1 - https://api.spotify.com/v1/albums/2widuo17g5cec66ibzveru/tracks/?limit=50&offset=0&market=US:non existing id, reason: NoneEnvironment:
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!
@Esamanoaz commented on GitHub (Sep 20, 2020):
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.
@Esamanoaz commented on GitHub (Sep 21, 2020):
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.