mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #705] Error with recommendations(seed_genres) - HTTPError #419
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#419
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 @samuelquant on GitHub (Jul 12, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/705
Describe the bug
While requesting to Spotify API recommendations(seed_genre=genre), the return is an HTTPError: 400 Client Error: Bad Request for url: https://api.spotify.com/v1/recommendations?seed_genres=t%2Ce%2Cc%2Ch%2Cn%2Co
I checked to Spotify Console (Get Recommendations Based on Seeds) and the right request should be: "https://api.spotify.com/v1/recommendations?seed_genres=techno"
Your code
Expected behavior
and so on
Output
Environment: