Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
This was working until very recently (within the last day or 2). Now, any time I try to set the volume of the web player using this endpoint, it returns a 403 with the following body:
{
"error" : {
"status" : 403,
"message" : "Player command failed: Cannot control device volume",
"reason" : "VOLUME_CONTROL_DISALLOW"
}
}
I've tested with a few different apps that I know all use the Web SDK, and all of them have the same behavior. Is this a bug or intentional? If intentional, is there some alternative way I should be controlling the volume? This is a very basic feature of an audio player so I hope this can be resolved quickly.
On which device was the music playing? Maybe that has something to do with not being able to control the volume.
Music was playing on the web player at the time. Changing the volume with the setVolume method on the player still works, just not via the API.
Bump.
Any updates/fixes?
comment is removed
Have the same issue.
The Documentation of Web Playback SDK still references
Description | Set the local volume for the Web Playback SDK. |
is this outdated information then?
The sdk players do indeed provide a method to change volume:
Volume is BACK GUYS
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…