<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get 500 Internal Server Error When Using Transfer Playback API in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-When-Using-Transfer-Playback-API/m-p/6923544#M17579</link>
    <description>&lt;P&gt;What is interesting, I had this problem for a while with Sonos speakers - I could no longer connect to them.&lt;BR /&gt;For Sonos case the resolution was to get a new Spotify account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I get 500 error when trying to switch to any device using the API&lt;/P&gt;</description>
    <pubDate>Wed, 16 Apr 2025 15:08:31 GMT</pubDate>
    <dc:creator>slawcok</dc:creator>
    <dc:date>2025-04-16T15:08:31Z</dc:date>
    <item>
      <title>Get 500 Internal Server Error When Using Transfer Playback API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-When-Using-Transfer-Playback-API/m-p/6847682#M17343</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I'm encountering a &lt;STRONG&gt;500 Internal Server Error&lt;/STRONG&gt; when trying to transfer playback using the Spotify Web API.&lt;/FONT&gt;&lt;/P&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;What I Did&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;I checked available devices using GET /me/player/devices, and my devices are listed as expected:&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;LI-CODE lang="javascript"&gt;{
  "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
    }
  ]
}&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;I then tried transferring playback using PUT /me/player with the following request:&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="javascript"&gt;{
  "device_ids": [
    "26069100cb0faeaa1a38b23c26efe396487205f4"
  ]
}&lt;/LI-CODE&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;The Issue&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Instead of successfully transferring playback, I receive this response:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;"error"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;500&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;"message"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"Server error."&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;}&lt;/SPAN&gt;
&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;This was &lt;STRONG&gt;working fine yesterday&lt;/STRONG&gt;, but now it consistently returns a 500 error.&lt;/FONT&gt;&lt;/P&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Additional Info&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;The device ID I'm trying to transfer to is valid and available.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;The request was working previously with no changes on my end.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;I have also tried refreshing my access token, but the issue persists.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Has anyone else experienced this? Could this be a temporary issue with the Spotify API? Any help would be appreciated!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 02:43:09 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-When-Using-Transfer-Playback-API/m-p/6847682#M17343</guid>
      <dc:creator>vclong2003</dc:creator>
      <dc:date>2025-03-19T02:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get 500 Internal Server Error When Using Transfer Playback API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-When-Using-Transfer-Playback-API/m-p/6923544#M17579</link>
      <description>&lt;P&gt;What is interesting, I had this problem for a while with Sonos speakers - I could no longer connect to them.&lt;BR /&gt;For Sonos case the resolution was to get a new Spotify account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I get 500 error when trying to switch to any device using the API&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 15:08:31 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-When-Using-Transfer-Playback-API/m-p/6923544#M17579</guid>
      <dc:creator>slawcok</dc:creator>
      <dc:date>2025-04-16T15:08:31Z</dc:date>
    </item>
  </channel>
</rss>

