Announcements

Help Wizard

Step 1

NEXT STEP

snapshot_id not updated for https://api.spotify.com/v1/users/{user_id}/playlists

snapshot_id not updated for https://api.spotify.com/v1/users/{user_id}/playlists

Discovered an issue where the snapshot_id is not updated for the endpoint https://api.spotify.com/v1/users/{user_id}/playlists

 

When fetching my Discovered Weekly playlist and comparing it to the cached one, they have the same snapshot_id, but when looking at the Android App, the playlist's tracks differed.

 

Calling https://api.spotify.com/v1/playlists/{playlist_id} with the same playlist resulted in a different snapshot_id, and when calling https://api.spotify.com/v1/users/{user_id}/playlists again, the snapshot_id was now updated.

 

Here's a link to the issue where I discovered the problem

https://github.com/hrkfdn/ncspot/issues/464

 

 

Here's the old snapshot_id which was not updated when just calling https://api.spotify.com/v1/playlists/{playlist_id} : MCwwMDAwMDAwMGM5NzM0NmMxOWMwNmE3YzgyYjc1MzIyZjUyZGU5OWU1

 

And here's the playlist id: 37i9dQZEVXcLkbwtizsRxa

 

Reply
1 Reply

I'm seeing the same problem with https://api.spotify.com/v1/playlists/{playlist_id} not having the snapshot_id updated when I add or remove songs.

Edit: I have now observed the behavior more close. It takes 10-60 seconds for snapshot_id to update for playlists/{playlist_id}, compared to when the tracks returned from the same API call changes.

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random