<?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: API Throwing 500 and 401 errors in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507448#M21730</link>
    <description>&lt;P&gt;Same here!&amp;nbsp; I am also seeing sporadic "&lt;SPAN&gt;403 -&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Player command failed: Premium required&lt;/SPAN&gt;&lt;SPAN&gt;" messages for Spotify Web API calls made (using a premium account of course). Note that an immediate subsequent call works fine with the exact same web request (e.g. same endpoint, Authorization token, and parameters).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have not seen any "500 - Server errors" as of yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Functionality that has been working fine for years is now failing sporadically!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I had to add "retry" logic to get around these errors for now.&amp;nbsp; The question is what else is going to crop up?!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C'mon Spotify - you can do better!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2026 20:38:07 GMT</pubDate>
    <dc:creator>thlucas</dc:creator>
    <dc:date>2026-07-21T20:38:07Z</dc:date>
    <item>
      <title>API Throwing 500 and 401 errors</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507408#M21729</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I’m seeing severe, ongoing failures on the Player API today (2026-07-21). This is from a my desktop app using the Web API with PKCE, a Premium account, and scopes that include playback state (user-read-playback-state, etc.). A lot of my userbase has also reported these issues.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;What works&lt;BR /&gt;Authorization / token refresh succeed (PKCE).&lt;BR /&gt;After login, /v1/me works — we correctly get the user and product: premium.&lt;BR /&gt;&lt;BR /&gt;What fails (repeatedly)&lt;BR /&gt;GET /v1/me/player (currently-playing / playback state)&lt;BR /&gt;Often returns 401 with body:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"error": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"status": 401,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"message": "Access token missing"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;This happens immediately after a successful login/token refresh, so it does not look like a normal expired-token case (we would expect something like “The access token expired”, not “Access token missing”).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;GET /v1/me/player/queue&lt;BR /&gt;Frequently returns 500:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"error": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"status": 500,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"message": "Server error."&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;These two errors often alternate on consecutive poll cycles (every few seconds).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there a known Player API incident right now (esp. /v1/me/player and /v1/me/player/queue)?&lt;BR /&gt;&lt;BR /&gt;Has anyone else seen 401 "Access token missing" on player endpoints while /v1/me still works with the same access token?&lt;BR /&gt;&lt;BR /&gt;Are the generic 500 "Server error." responses on Get Queue expected under load, or is that a backend fault we should treat as an outage?&lt;BR /&gt;&lt;BR /&gt;I even managed to get 500 response on the API Reference Page.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inzanity_1-1784660154579.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/209981iDA200D95AE961482/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Inzanity_1-1784660154579.png" alt="Inzanity_1-1784660154579.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 18:56:58 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507408#M21729</guid>
      <dc:creator>Inzanity</dc:creator>
      <dc:date>2026-07-21T18:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: API Throwing 500 and 401 errors</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507448#M21730</link>
      <description>&lt;P&gt;Same here!&amp;nbsp; I am also seeing sporadic "&lt;SPAN&gt;403 -&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Player command failed: Premium required&lt;/SPAN&gt;&lt;SPAN&gt;" messages for Spotify Web API calls made (using a premium account of course). Note that an immediate subsequent call works fine with the exact same web request (e.g. same endpoint, Authorization token, and parameters).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have not seen any "500 - Server errors" as of yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Functionality that has been working fine for years is now failing sporadically!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I had to add "retry" logic to get around these errors for now.&amp;nbsp; The question is what else is going to crop up?!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C'mon Spotify - you can do better!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 20:38:07 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507448#M21730</guid>
      <dc:creator>thlucas</dc:creator>
      <dc:date>2026-07-21T20:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: API Throwing 500 and 401 errors</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507489#M21731</link>
      <description>&lt;P&gt;Yes, same here. ALl of the above. Server_Errors, Token missing, premium required. It sucks so much&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 21:22:45 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507489#M21731</guid>
      <dc:creator>wolfgang_bures</dc:creator>
      <dc:date>2026-07-21T21:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: API Throwing 500 and 401 errors</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507536#M21732</link>
      <description>&lt;P&gt;I’ve come to accept 5xx errors as the norm here, and honestly, it’s not even worth complaining about anymore—I had to build a retry loop into my API just to spam requests until I finally get a non-5xx response. But randomly getting 401 errors with a freshly generated token is a new one. Can confirm this issue is happening.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 22:23:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507536#M21732</guid>
      <dc:creator>KMatuszak</dc:creator>
      <dc:date>2026-07-21T22:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: API Throwing 500 and 401 errors</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507582#M21733</link>
      <description>&lt;P&gt;Currently getting 401&amp;nbsp;&lt;SPAN&gt;"Access token missing"&amp;nbsp;&lt;/SPAN&gt;repeatedly, in between successful requests. Earlier I also got a 400 "Refresh token expired" followed by "Refresh token revoked" on subsequent attempts and had to reauthorize to recover.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 23:31:25 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507582#M21733</guid>
      <dc:creator>Spotawntae</dc:creator>
      <dc:date>2026-07-21T23:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: API Throwing 500 and 401 errors</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507990#M21739</link>
      <description>&lt;P&gt;Same but different for me, I was getting 403 +&amp;nbsp;"Insufficient client scope" despite having the appropriate scopes&lt;BR /&gt;&lt;BR /&gt;Added some more code to basically ignore 403s with that error message and retry them.&lt;BR /&gt;&lt;BR /&gt;Curious to know why the API returns these incorrect response codes.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 13:03:41 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7507990#M21739</guid>
      <dc:creator>Mordicus</dc:creator>
      <dc:date>2026-07-22T13:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: API Throwing 500 and 401 errors</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7508225#M21749</link>
      <description>&lt;P&gt;Seems solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 17:48:51 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7508225#M21749</guid>
      <dc:creator>wolfgang_bures</dc:creator>
      <dc:date>2026-07-22T17:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: API Throwing 500 and 401 errors</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7508404#M21752</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/946845"&gt;@wolfgang_bures&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Seems solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Seems like it. Not seeing errors anymore&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 20:47:04 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/API-Throwing-500-and-401-errors/m-p/7508404#M21752</guid>
      <dc:creator>Inzanity</dc:creator>
      <dc:date>2026-07-22T20:47:04Z</dc:date>
    </item>
  </channel>
</rss>

