Skip to main content

Hello!  I noticed just recently that my Spotify playlists that are larger no longer add to the Sonos queue.  I get an error that says, “Unable to add songs to the queue.”  This only happens with my larger playlists, the smaller ones add just fine.  Does anyone know why this might have just started happening?  I’m using the S2 controller.  Any help is much appreciated!

There has always been both a number limit, and a timeout limit. How large is the playlist? If memory serves, 500 is generally the number, but there’s also size considerations, if the metadata is larger than normal. And if you’re experiencing a little wifi interference , it’s possible that the load process is failing on a time out. 


Oh, wow...I was unaware, but it can’t be 500 songs, it just started happening with these playlists about 3 months ago and I’ve had 2200 songs in both of them all along.  Very interesting, indeed.  It’s not only happening with my system, but at my folks house as well.  Thanks for the reply!


Probably worth submitting a system diagnostic within 10 minutes of experiencing this problem, and calling Sonos Support to discuss it.

There may be information included in the diagnostic that will help Sonos pinpoint the issue and help you find a solution.

When you speak directly to the phone folks, they have tools at their disposal that will allow them to give you advice specific to your Sonos system and network.


I called Sonos support about this issue, the person I spoke to had no clue what the deal was...maybe I’ll call again and speak to someone else


Though the official line maybe the list can only be 500 max, I’ve read about people complaining they used to be able to play the Dutch top 2000 playlist and since a couple of months are no longer able to.

Could be a change on the Spotify side.


Amazon Music has set a 500 song queue limit in Sonos, but that limit doesn’t apply to Spotify.

As @Airgetlam said, the process is likely failing on a time out.

@106rallye - Interestingly, I tried to load that Top 2000 playlist and it worked when the Five was wireless. I’d moved speakers around so connected the Five back to Ethernet and couldn’t get the playlist to load. Disconnected Ethernet and the playlist added to the queue again.

 


There is a 10 second timeout for loading any playlist, as well as any size limits imposed by the service itself. If something has slowed down the network connection between the service and a particular speaker (the Coordinator in the group specifically), that could explain why a playlist that used to load ok suddenly does not.

Next time it fails, time it from start to error. If it is 10 seconds, that’s the problem.


All great recommendations, much appreciated!


Hi everyone, although I’ve had a number of Sonos speakers for years now, this is my first time posting in the Sonos Community. I’ve been searching around on here lately precisely because of this problem. My main “playlist” of liked songs on Spotify is somewhere around 1800 songs long now. I didn’t have problems putting this entire list in the Sonos queue for the first couple of years that I was a Spotify subscriber, but I have been consistently encountering the “Unable to add songs to the queue” error for the past couple of months. The problem seemed a bit gradual, in that I could get Sonos to load up the long list to the queue after a few tries, but now it won’t work at all.

I worked with Sonos support this past week via online chat, and then was told to call in. The first person I spoke with focused on the wifi channel selections automatically made by my Linksys Velop mesh system, and the second phone support person I spoke with simply forwarded the following email to me, detailing the various limitations for various music services. (Note: the size of Spotify playlists does seem to be limited, there is no mention of Apple Music however. Using Airplay and Spotify Direct Control are suggested as workarounds.)

In the end, though, I don’t really understand why I was able to regularly listen to my entire Spotify library for years, only to encounter problems at the end of this year.

 

Music Service Limitations

  • Amazon Music
    • Only able to add a maximum of 500 tracks to the queue at once
    • Amazon Music Unlimited shows only up to 100 My Music Playlists in the Sonos controller
  • Heart of Space
    • 12 hour session limit
  • Pandora Radio
    • 4 hour maximum session length
      • Note that thumbs-down ratings and skips will reset the 4 hour counter, while thumbs-up will not.
    • As of Nov 2016, Sonos displays the most recent 94 user stations (alphabetically sorted). The user can continue adding up to 155 more stations, pushing the least-recently-used out of the list we display (which could be from anywhere in the alphabetically sorted list). This will probably change in Kendrick, when Pandora is slated to go SMAPI.
    • 6 skips per station per hour (Not lifted with Pandora One)
    • 12 skips max per day (Pandora One lifts the daily max)
      Note: via testing, Sonos does not have the 12 skip daily max.
    • Pandora Plus and Pandora Premium accounts are meant for individual, non-commercial use. The cost of an individual subscription only covers the costs of one stream of ad-free songs. You can play your account on any supported computer or device you own, however, only one person can listen at a time on your account.
    • A Pandora Premium subscription is required on Sonos when searching for artists, albums, and playlists, otherwise, only songs and stations will return results.
  • Rdio
    • Maximum of 3 Sonos Rooms Playing separate concurrent streams
  • Soundtrack Player
    • Maximum of 100 Playlists displaying in the Controller
  • Rhapsody/Napster
    • Maximum of 3 Sonos Rooms Playing Separate Concurrent Streams
    • Can stream to either Sonos OR Computer/Phone
      (When one is started the other stops)
  • SiriusXM
    • Maximum of 1 concurrent stream
    • 4 Hour Max Session Length
  • Slacker
    • 6 skips per station per hour (no daily limit)
    • Paid subscription lifts the skip limit
  • Soundcloud
    • 100 Tracks per container (e.g. Playlists)
  • Spotify
    • Roughly 500 songs per playlist (can be lower)
    • Each account can only be played at a single IP address at any given time
    • Concurrent streams are allowed within the same household
  • TuneIn (Internet Radio)
    • As of version 5.4 (Devo), Sonos does not support MPEG 2.5 audio formats (MP3s) that have sample rates of 12 kHz and below. Most of our partners stream above this rate, but there might be some stations on services that do not have alternate streams.
  • YouTube Music
    • All containers for uploaded music have a limit of 999 items.



*You can bypass limitations with Airplay or even Direct Control from Spotify


Solid info, thanks very much!  It’s pretty crazy that I was able to listen to my favorite playlist (with around 2200 songs), up until about 3 months ago.  Oh, well!


Solid info, thanks very much!  It’s pretty crazy that I was able to listen to my favorite playlist (with around 2200 songs), up until about 3 months ago.  Oh, well!

Yeah, and my apologies for the overlong post. But, in short, I feel exactly the same way, and my timeline for this change is pretty much the same as yours. I still don’t know the underlying “why”: i.e. why now, and not before? And is it generally the music services that enforce these limitations, or Sonos? At this point, though, I am pretty much resigned to adapting to workarounds: either doing the work of dividing my large collections into multiple smaller playlists, or using Direct Control/Airplay, etc.


I’ve been digging into this, but I didn’t personally have any Spotify playlists huge enough, so tried playing some public playlists on Spotify / S2 / PC app:

"over 5000 dance pop hits and remixes" fails @10 seconds, as expected, that is the timeout
"1000 different christmas songs" works, and takes 6 seconds

I then took the 1000 playlist and made it one of “my” playlists, and that worked too (took 4 seconds).

I made a “local” version of the 5000 playlist, and that failed, so I debugged it.

It is the ten second timeout in the speakers, when calling to Spotify. My own app uses a 30 second timeout to make the call to load the playlist, and that is NOT expiring, it is the speakers themselves that force this limit.

 


Just strange this seems to have changed recently. Would this be on the Spotify or the Sonos side?


Just strange this seems to have changed recently. Would this be on the Spotify or the Sonos side?

The Sonos timeout has always been 10 seconds. Spotify’s speed hasn’t changed for me (in the USA) but who knows where the OP is located and what their route is to the Spotify SMAPI server. Maybe the CDN is broken?

For me a ping to spotify-v5.ws.sonos.com (which is the Spotify SMAPI endpoint) is 15ms. A tracert indicates it goes through an Akamai CDN.


So this must be a Spotify thing.


The Sonos timeout has always been 10 seconds. Spotify’s speed hasn’t changed for me (in the USA) but who knows where the OP is located and what their route is to the Spotify SMAPI server. Maybe the CDN is broken?

For me a ping to spotify-v5.ws.sonos.com (which is the Spotify SMAPI endpoint) is 15ms. A tracert indicates it goes through an Akamai CDN.

Hi controlav, thanks so much for looking into this. Given your prior post, I decided to take around 585 songs from my main Spotify library and make it into a playlist. My Sonos speakers are able to load this fine. Given this, I find the extensive list of “Music Service Limitations” forwarded to me from a Sonos Support person a bit perplexing.

At this point, I’m getting above my paygrade. I don’t know how to do things like test the ping between me and the Sonos Music API for Spotify. (OP is perhaps in southern California? I’m in Canada.) I may enlist the help of a more capable friend after the holidays.

I don’t want to be too insistent & demanding here, especially since I’m not even the OP, so I’ll phrase my question broadly, knowing that I’ve got some work to do in the coming weeks:

I have many Sonos speakers placed throughout an old three story home with many rooms. I therefore set up a Linksys Velop AX/Wifi 6 Tri-Band mesh network with three nodes and a wired backhaul, in the hopes of having a system more than capable of handling a large, high-demand house. As I investigate this further: for this problem with the 10 second timeout for large playlists in Spotify and Apple Music, should looking at the health & functioning of my home network be a first step? Or is this more likely an issue that exists somewhere in the world between me and these SMAPI endpoints?


The Sonos timeout has always been 10 seconds. Spotify’s speed hasn’t changed for me (in the USA) but who knows where the OP is located and what their route is to the Spotify SMAPI server. Maybe the CDN is broken?

For me a ping to spotify-v5.ws.sonos.com (which is the Spotify SMAPI endpoint) is 15ms. A tracert indicates it goes through an Akamai CDN.

 

I have many Sonos speakers placed throughout an old three story home with many rooms. I therefore set up a Linksys Velop AX/Wifi 6 Tri-Band mesh network with three nodes and a wired backhaul, in the hopes of having a system more than capable of handling a large, high-demand house. As I investigate this further: for this problem with the 10 second timeout for large playlists in Spotify and Apple Music, should looking at the health & functioning of my home network be a first step? Or is this more likely an issue that exists somewhere in the world between me and these SMAPI endpoints?

Based on my debugging I see nothing that indicates issues with anyone’s local network. The 10 second timeout fires because of the time taken for speaker->internet->CDN->spotify and back, and there is little you can do for any of those steps.


There has been some other change in the way the Sonos deals with Amazon playlists that has changed recently.  If I go to “Amazon”, My Music”, then “Tracks” all are organized alphabetically.  It used to be that if I scrolled down I could start to shuffle songs from anywhere in the playlist.  Now I cannot play anything beyond the 500th track, and I get the same “An error occurred while adding tracks to the queue (701)” message that others have talked about.  Not that I know a lot, but that does not seem to be a timing issue, it seems to be some new limit applied.  

Dear Sonos, can you please do something to maximize the amount of tracks from our various music services.


So I have been taking a deep look at this issue for the last few weeks, and have made changes to my own Windows app to handle these large playlists. It was frankly trickier than I had expected, but its all working now.

With the “normal” method, the app makes a single call to the Coordinator speaker and hands it the playlist details. The speaker then makes a single call to the music service to get all of the items and adds them to the queue. This all must be completed in less than 10 seconds, which is not possible for Spotify playlists containg 1000 or so items (as both the app->speaker and speaker->service calls are both limited to 10 seconds).

Instead I tried adding them using “pagination” - the app grabs the playlist contents 500 at a time, then adds each item in much smaller chunks to the Coordinator’s queue. This works, but is a LOT slower than the “normal” method. The 1000 item Spotify playlist that I have mostly been testing with takes a couple of minutes to load this way, and frankly I don’t see any way of making that any faster. But it does work. And once it does, you can then immediately create a Sonos playlist of the exact same tracks and use that in future, which loads almost instantly of course.

I have some more testing to do before releasing my updated app, but I am happy the concept works even within the time limits imposed by the Sonos and Spotify implementations.


I will try that. Thanks