Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Add Items to Playlist 404 Errors

Add Items to Playlist 404 Errors

Hello!

 

We've been receiving many intermittent 404 errors upon hitting the Add Items to Playlist route through the Spotify Web API. There doesn't seem to be anything wrong the playlists in question here (They exist when we look them up via their URI and they're all both public and non collaborative). 

 

Let me know if providing an example playlist_id we're receiving errors for would help!

 

Any help on this would be much appreciated!

Reply
6 Replies

Hey there, help's here!

Hmm, that's odd. Could you share a code snippet including the request you're making to the API? (without authorization details or playlist ids). I'll have a look at what could be happening here.

Keep me posted! 🙂
HuboSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Hey thanks for the response! This forum site seems to be erroring out when I try and post a code snippet so I'll attach a screenshot of the relevant code. Lmk if there's any other info you need!

Screen Shot 2022-01-26 at 1.44.57 PM.png

Hey there again! Any chance you have an update for me here? 

Bump on this!

Sounds similar to my issue here.  Have you figured anything out?

Same problem here. 404 is not even on the list of potential responses but I get it intermittently like the original post mentions.

The uris are passed in the query string... only 50 at a time to avoid any length problems.  I gathered that using the query string is acceptable per your docs. "Note: if the uris parameter is present in the query string, any URIs listed here in the body will be ignored."

Here's a uri example: v1/playlists/<playlistId>/tracks?

 

uris=spotify:track:35ItUJlMtjOQW3SSiTCrrw,spotify:track:56ilrbKJF2bph5W6eZaM5E&

 

position=0

 

I'm not sure why I'm getting a 404, is it because one of the spotify ids in the uris string is not found or is it because the playlist is not found...although I'm getting a playlistId immediately preceding the add items to playlist call.

 

 

 

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