Search code examples
spotifyspotify-app

spotify models.player.load(...) promise not resolving


Anyone ever notice the Promise from models.player.load("context","playing"); simply doesn't come back (which is to say it neither fails nor dones)?

This doesn't happen every time I try the operation, only sporadically.

Working with API version 1.0.0, on Spotify for Windows.


Solution

  • Yep, timeouts don't seem to fail or done. At least I assume they're timeouts, because of their sporadic appearance, and different behavior for different users.

    See later comments on my answer here: Intermittent issue with tracks snapshot for current user top list

    Can be pretty frustrating. Only option I know of at this point is a success flag and a retry timer.