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

Child Item
Child Item
Child Item

Accepted answers

All comments

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!

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!
Child Item
Child Item