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 Tracks to Playlist issue (ordering is incorrect)

Add Tracks to Playlist issue (ordering is incorrect)

I am working on an application where I need the ordering of the tracks to be in the same order listed in the request body. Spotify documentation promises this:

 

The position to insert the items, a zero-based index. For example, to insert the items in the first position: position=0; to insert the items in the third position: position=2. If omitted, the items will be appended to the playlist. Items are added in the order they are listed in the query string or request body.

 

This doesn't seem to be the case however. I have tried using fetch, axios, and spotify-web-api-node. How can I make sure my songs are added in the order I want to my playlists? I can show my code is requested. Thank you.

Reply
0 Replies

Suggested posts