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

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

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

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
1 Reply

up

Suggested posts