Announcements

Web API - mixed results setting volume on web player and phone

Web API - mixed results setting volume on web player and phone

danielr83

After having two testers look into it I've found the Set Playback Volume call in the Web API to be less reliable than expected, at least when used with the Web Player at open.spotify.com and the phone app. For one tester it only worked some of the time, with it sometimes seeming to help if playback was also started through the Web API and other times it failing regardless. For another tester Set Volume would not work at all.

The returned error message is just "{ "error": { "status": 403, "message": "Player command failed: Restriction violated", reason: "UNKNOWN" } }", which is not particularly helpful.
Should we not expect to be able to set volume through the Web API for such players? If so, are there more types of players for which this is true?

Reply
0 Replies

Suggested posts

Env: prod