Announcements

Having trouble seeing your Wrapped stories? To fix this, update the Spotify app to the latest version.

Find more info on our community FAQ.

Add tracks to playlist returns 50x error

Add tracks to playlist returns 50x error

Flow: I created playlist using create playlist API. After I'm adding track's to this playlist.

As a result I got 500 or 503 error

Reply
2 Replies

Hey @alex_matviichuk, thanks for posting here!

Let's dive into this! Could you send over a bit more information about the request you're making to the Spotify API? I'll do some digging. 🙂

 

Thanks, 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.

I'm having a similar issue. I have code that has been running perfectly for months, and now I am *occasionally, but not consistently, getting either a 500 or 502 error when I am adding a track to a playlist in a particular position. The call looks like this: 

 

processingData = await spotifyApi.addTracksToPlaylist(workingArray[i].id,[concatMyTrack],
{
position: myRandomPosition
});
 
Any thoughts you might have would be greatly appreciated!

Suggested posts