<?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 Scope changes after token refresh, 403 in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Scope-changes-after-token-refresh-403/m-p/7123641#M18775</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sweden&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Intel Nuc&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ubuntu 22.04&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;I have an app that is under extended request quota. It's an app that daily gets a new spotify album id from another service for each user. It then creates (or update if i'ts an existing user) a playlist with the album. This code is run from my server every morning. Before any fetching or posting towards spotify is done i refresh the users authtoken, If i get a refreshtoken from the response i update the users refreshtoken, if there is no refreshtoken but only a authtoken i update the users authtoken.&lt;BR /&gt;&lt;BR /&gt;I have approximately 150 users and for most of them it works fine, they get their playlist updated. But at the moment I have approximately 20 users that after the Refresh Token flow they cannot Delete playlist items from their playlist or Add Playlist Items to the playlist. However fetching album, playlist or playlist items still works fine.&lt;BR /&gt;The error I'm getting for DELETE and POST request is 403.&lt;BR /&gt;The scope im using are&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var scope = "playlist-modify-private playlist-modify-public";&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;And is done like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var queryParams = new Dictionary&amp;lt;string, string?&amp;gt;
{
{ "response_type", "code" },
{ "client_id", config["CLIENT_ID"] },
{ "redirect_uri", config["REDIRECT_URI"] },
{ "state", username },
{ "scope", scope }
};

var authorizationUrl = QueryHelpers.AddQueryString("https://accounts.spotify.com/authorize", queryParams);
return Results.Redirect(authorizationUrl);&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When the user signs up to my app the playlist is created and that has worked for every user. So in my mind, this has something to do with the refresh token somehow.&lt;BR /&gt;&lt;BR /&gt;Anybody that can point me in some direction or recognize this issue?&lt;BR /&gt;&lt;BR /&gt;Kind regards!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2025 11:45:27 GMT</pubDate>
    <dc:creator>simpamusic</dc:creator>
    <dc:date>2025-09-09T11:45:27Z</dc:date>
    <item>
      <title>Scope changes after token refresh, 403</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Scope-changes-after-token-refresh-403/m-p/7123641#M18775</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sweden&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Intel Nuc&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ubuntu 22.04&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;I have an app that is under extended request quota. It's an app that daily gets a new spotify album id from another service for each user. It then creates (or update if i'ts an existing user) a playlist with the album. This code is run from my server every morning. Before any fetching or posting towards spotify is done i refresh the users authtoken, If i get a refreshtoken from the response i update the users refreshtoken, if there is no refreshtoken but only a authtoken i update the users authtoken.&lt;BR /&gt;&lt;BR /&gt;I have approximately 150 users and for most of them it works fine, they get their playlist updated. But at the moment I have approximately 20 users that after the Refresh Token flow they cannot Delete playlist items from their playlist or Add Playlist Items to the playlist. However fetching album, playlist or playlist items still works fine.&lt;BR /&gt;The error I'm getting for DELETE and POST request is 403.&lt;BR /&gt;The scope im using are&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var scope = "playlist-modify-private playlist-modify-public";&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;And is done like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var queryParams = new Dictionary&amp;lt;string, string?&amp;gt;
{
{ "response_type", "code" },
{ "client_id", config["CLIENT_ID"] },
{ "redirect_uri", config["REDIRECT_URI"] },
{ "state", username },
{ "scope", scope }
};

var authorizationUrl = QueryHelpers.AddQueryString("https://accounts.spotify.com/authorize", queryParams);
return Results.Redirect(authorizationUrl);&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When the user signs up to my app the playlist is created and that has worked for every user. So in my mind, this has something to do with the refresh token somehow.&lt;BR /&gt;&lt;BR /&gt;Anybody that can point me in some direction or recognize this issue?&lt;BR /&gt;&lt;BR /&gt;Kind regards!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 11:45:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Scope-changes-after-token-refresh-403/m-p/7123641#M18775</guid>
      <dc:creator>simpamusic</dc:creator>
      <dc:date>2025-09-09T11:45:27Z</dc:date>
    </item>
  </channel>
</rss>

