Announcements

Help Wizard

Step 1

NEXT STEP

Get 500 Internal Server Error When Using Transfer Playback API

Get 500 Internal Server Error When Using Transfer Playback API

Hi,

I'm encountering a 500 Internal Server Error when trying to transfer playback using the Spotify Web API.

What I Did

  1. I checked available devices using GET /me/player/devices, and my devices are listed as expected:
{
  "devices": [
    {
      "id": "145d1de2d16f0f646ebc864c6f75a455e5b99232",
      "is_active": false,
      "is_private_session": false,
      "is_restricted": false,
      "name": "Personal Spotify Web",
      "supports_volume": true,
      "type": "Computer",
      "volume_percent": 100
    },
    {
      "id": "26069100cb0faeaa1a38b23c26efe396487205f4",
      "is_active": false,
      "is_private_session": false,
      "is_restricted": false,
      "name": "Personal Spotify Web",
      "supports_volume": true,
      "type": "Computer",
      "volume_percent": 100
    }
  ]
}
  • I then tried transferring playback using PUT /me/player with the following request: 
{
  "device_ids": [
    "26069100cb0faeaa1a38b23c26efe396487205f4"
  ]
}

The Issue

Instead of successfully transferring playback, I receive this response:

{
  "error": {
    "status": 500,
    "message": "Server error."
  }
}

This was working fine yesterday, but now it consistently returns a 500 error.

Additional Info

  • The device ID I'm trying to transfer to is valid and available.
  • The request was working previously with no changes on my end.
  • I have also tried refreshing my access token, but the issue persists.

Has anyone else experienced this? Could this be a temporary issue with the Spotify API? Any help would be appreciated!

Thanks!

Reply
1 Reply

What is interesting, I had this problem for a while with Sonos speakers - I could no longer connect to them.
For Sonos case the resolution was to get a new Spotify account.

 

Now I get 500 error when trying to switch to any device using the API

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