<?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 Playback tracks without active devices in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Playback-tracks-without-active-devices/m-p/5630276#M10583</link>
    <description>&lt;P&gt;&lt;EM&gt;Hi everyone!&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;I'm building an app for iOS devices using Spotify Web API.&lt;/EM&gt;&lt;BR /&gt;The problem is that without active devices track playback does not work, the server returns the response:&lt;BR /&gt;&lt;STRONG&gt;Response data: {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"error" : {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"status" : 404,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"message" : "Player command failed: No active device found",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"reason" : "NO_ACTIVE_DEVICE"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;If I don't activate a device, and send a request to output all the devices available for my Spotify account, the response comes back with an empty list:&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"devices": []&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;So, &lt;U&gt;I need to manually open the official Spotify app, then enable any track, then the device becomes active and I can use the API request to play any other track in my code?&lt;/U&gt;&lt;BR /&gt;I'm sure many people have faced this problem and &lt;STRONG&gt;&lt;U&gt;I really hope someone has a way to solve it, how can I play tracks without manually activating the device&lt;/U&gt;&lt;/STRONG&gt;, otherwise I don't understand why Spotify API exists at all? To display track titles and album art? &lt;STRIKE&gt;Maybe I'm a fool and displaying track titles is a very useful feature, but&lt;/STRIKE&gt; I think it just limits all the developers who want to contribute to app development and get more users for Spotify itself.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 19:46:12 GMT</pubDate>
    <dc:creator>le0korkich</dc:creator>
    <dc:date>2023-08-31T19:46:12Z</dc:date>
    <item>
      <title>Playback tracks without active devices</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Playback-tracks-without-active-devices/m-p/5630276#M10583</link>
      <description>&lt;P&gt;&lt;EM&gt;Hi everyone!&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;I'm building an app for iOS devices using Spotify Web API.&lt;/EM&gt;&lt;BR /&gt;The problem is that without active devices track playback does not work, the server returns the response:&lt;BR /&gt;&lt;STRONG&gt;Response data: {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"error" : {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"status" : 404,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"message" : "Player command failed: No active device found",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"reason" : "NO_ACTIVE_DEVICE"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;If I don't activate a device, and send a request to output all the devices available for my Spotify account, the response comes back with an empty list:&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"devices": []&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;BR /&gt;So, &lt;U&gt;I need to manually open the official Spotify app, then enable any track, then the device becomes active and I can use the API request to play any other track in my code?&lt;/U&gt;&lt;BR /&gt;I'm sure many people have faced this problem and &lt;STRONG&gt;&lt;U&gt;I really hope someone has a way to solve it, how can I play tracks without manually activating the device&lt;/U&gt;&lt;/STRONG&gt;, otherwise I don't understand why Spotify API exists at all? To display track titles and album art? &lt;STRIKE&gt;Maybe I'm a fool and displaying track titles is a very useful feature, but&lt;/STRIKE&gt; I think it just limits all the developers who want to contribute to app development and get more users for Spotify itself.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 19:46:12 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Playback-tracks-without-active-devices/m-p/5630276#M10583</guid>
      <dc:creator>le0korkich</dc:creator>
      <dc:date>2023-08-31T19:46:12Z</dc:date>
    </item>
  </channel>
</rss>

