Announcements

Help Wizard

Step 1

NEXT STEP

403 "unkown" when sending PUT request to pause player

403 "unkown" when sending PUT request to pause player

When I am sending a PUT to: https://api.spotify.com/v1/me/player/play with a valid user token that has the `user-modify-playback-state` scope, it returns a code 403 with message:

 

{
"error" : {
"status" : 403,
"message" : "Player command failed: Restriction violated",
"reason" : "UNKNOWN"
}
}

Reply
1 Reply

Turns out I was sending a PLAY request to a client that was already playing, hence the error message

Suggested posts

Let's introduce ourselves!

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…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random