mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-26 23:45:49 +03:00
[GH-ISSUE #284] Spotify API returns 502 error when supplying snapshot_id #210
Labels
No labels
bug
docs
enhancement
enhancement
enhancement
feedback wanted
good first issue
help wanted
help wanted
help wanted
invalid
pull-request
question
question
upstream
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-web-api-php#210
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 @lu3do on GitHub (Apr 9, 2025).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/284
When trying to delete track(s) using the
deletePlaylistTracks()and supplying a$snapshot_idthe Spotify API returns a 502 with "Error while loading resource" or "Invalid base62"Looking at the documentation, it seems like they removed the support for supplying "snapshot_id" in the request.
https://developer.spotify.com/documentation/web-api/reference/remove-tracks-playlist
using
deletePlaylistTracks()without a snapshot_id does work.BTW same issue for
reorderUserPlaylistTracks()@jwilsson commented on GitHub (Apr 11, 2025):
Hey!
Are you passing the tracks to delete as
positionsortracks? I.e.There's been issues in the past with using the
positionskey (which seems to have been removed from the API). But looking at Spotify's documentation on deleting playlist tracks and reordering playlist tracks thesnapshot_idparameter is still listed.I don't know if you've seen this Spotify forum thread but it seems to be a common issue unfortunately.