mirror of
https://github.com/Aran404/SpotAPI.git
synced 2026-04-25 16:55:50 +03:00
[GH-ISSUE #56] Song.like_song() raises SongError (GraphQL variable mismatch: uris vs libraryItemUris) #34
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SpotAPI#34
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 @nogaemer on GitHub (Dec 25, 2025).
Original GitHub issue: https://github.com/Aran404/SpotAPI/issues/56
Hello,
I have written a little test script, that is supposed to like the currently playing song. The current problem I am facing is, that
song.like_song(track_id)will raise spotapi.exceptions.errors.SongError: Could not like song.Based on the error logs, it appears the library is sending the wrong variable name in the GraphQL payload. The API expects
libraryItemUrisbut the library sendsuris.Environment:
song.py line 278 :
should be:
Code:
Console error
Payload that is sent to spotify
###Error Object in song.py -> like_song() -> resp.error
@nogaemer commented on GitHub (Dec 26, 2025):
#57