<?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 API 403: &amp;quot;Player command failed: Premium required&amp;quot; on Premium Account in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/API-403-quot-Player-command-failed-Premium-required-quot-on/m-p/5609598#M9989</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Premium Individual&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;United Kingdom&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Desktop PC&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 10, Linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interacting with the API at the /v1/me/player/next endpoint gives an error code 403:&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error" : {&lt;BR /&gt;"status" : 403,&lt;BR /&gt;"message" : "Player command failed: Premium required",&lt;BR /&gt;"reason" : "PREMIUM_REQUIRED"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;and the /v1/me/playlists gives an error code 401: Unauthorized with the same token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using authorization flow, and for testing purposes with my account and with all possible permissions, I get the code and from then request the token which I receive and store and I can correctly see my own app listed as authorized on my account through the spotify account preferences afterwards, however interacting with any /me/ API endpoint results in a 403 or a 401, with every token I receive, regardless of if it's through terminal using cURL or from within the app JS code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what might be going on? Could this have anything to do with the fact the spotify account in question is normally logged into through Facebook?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2023 12:29:30 GMT</pubDate>
    <dc:creator>McCollyEnterprises</dc:creator>
    <dc:date>2023-07-14T12:29:30Z</dc:date>
    <item>
      <title>API 403: "Player command failed: Premium required" on Premium Account</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-403-quot-Player-command-failed-Premium-required-quot-on/m-p/5609598#M9989</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Premium Individual&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;United Kingdom&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Desktop PC&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 10, Linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interacting with the API at the /v1/me/player/next endpoint gives an error code 403:&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error" : {&lt;BR /&gt;"status" : 403,&lt;BR /&gt;"message" : "Player command failed: Premium required",&lt;BR /&gt;"reason" : "PREMIUM_REQUIRED"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;and the /v1/me/playlists gives an error code 401: Unauthorized with the same token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using authorization flow, and for testing purposes with my account and with all possible permissions, I get the code and from then request the token which I receive and store and I can correctly see my own app listed as authorized on my account through the spotify account preferences afterwards, however interacting with any /me/ API endpoint results in a 403 or a 401, with every token I receive, regardless of if it's through terminal using cURL or from within the app JS code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what might be going on? Could this have anything to do with the fact the spotify account in question is normally logged into through Facebook?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 12:29:30 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-403-quot-Player-command-failed-Premium-required-quot-on/m-p/5609598#M9989</guid>
      <dc:creator>McCollyEnterprises</dc:creator>
      <dc:date>2023-07-14T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: API 403: "Player command failed: Premium required" on Premium Account</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-403-quot-Player-command-failed-Premium-required-quot-on/m-p/5609650#M9990</link>
      <description>&lt;P&gt;Cam you please post some code of how you get the access token?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 14:07:20 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-403-quot-Player-command-failed-Premium-required-quot-on/m-p/5609650#M9990</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2023-07-14T14:07:20Z</dc:date>
    </item>
  </channel>
</rss>

