<?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 403 Forbidden on Add Tracks to Playlist API despite valid scopes in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/403-Forbidden-on-Add-Tracks-to-Playlist-API-despite-valid-scopes/m-p/7444688#M21417</link>
    <description>&lt;P&gt;I have a Next.js app hosted on Vercel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The app successfully:&lt;BR /&gt;- Authenticates user&lt;BR /&gt;- Returns playlist-modify-private&lt;BR /&gt;- Returns playlist-modify-public&lt;BR /&gt;- Returns user-read-private&lt;BR /&gt;- Creates playlists successfully&lt;BR /&gt;- Searches tracks successfully&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However:&lt;/P&gt;&lt;P&gt;POST /v1/playlists/{playlist_id}/tracks&lt;/P&gt;&lt;P&gt;always returns:&lt;/P&gt;&lt;P&gt;403 Forbidden&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The playlist is owned by the authenticated user.&lt;BR /&gt;The same token successfully creates the playlist.&lt;/P&gt;&lt;P&gt;Track URIs are valid Spotify track URIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example failing endpoint:&lt;BR /&gt;POST &lt;A href="https://api.spotify.com/v1/playlists/{playlist_id}/tracks" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/playlists/{playlist_id}/tracks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Request body:&lt;BR /&gt;{&lt;BR /&gt;"uris": [&lt;BR /&gt;"spotify:track:320lwWuMpZ6b0aN2RZ0eMS"&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Any ideas why Spotify allows playlist creation but blocks adding tracks?&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2026 19:15:18 GMT</pubDate>
    <dc:creator>soundsdj</dc:creator>
    <dc:date>2026-05-20T19:15:18Z</dc:date>
    <item>
      <title>403 Forbidden on Add Tracks to Playlist API despite valid scopes</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/403-Forbidden-on-Add-Tracks-to-Playlist-API-despite-valid-scopes/m-p/7444688#M21417</link>
      <description>&lt;P&gt;I have a Next.js app hosted on Vercel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The app successfully:&lt;BR /&gt;- Authenticates user&lt;BR /&gt;- Returns playlist-modify-private&lt;BR /&gt;- Returns playlist-modify-public&lt;BR /&gt;- Returns user-read-private&lt;BR /&gt;- Creates playlists successfully&lt;BR /&gt;- Searches tracks successfully&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However:&lt;/P&gt;&lt;P&gt;POST /v1/playlists/{playlist_id}/tracks&lt;/P&gt;&lt;P&gt;always returns:&lt;/P&gt;&lt;P&gt;403 Forbidden&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The playlist is owned by the authenticated user.&lt;BR /&gt;The same token successfully creates the playlist.&lt;/P&gt;&lt;P&gt;Track URIs are valid Spotify track URIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example failing endpoint:&lt;BR /&gt;POST &lt;A href="https://api.spotify.com/v1/playlists/{playlist_id}/tracks" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/playlists/{playlist_id}/tracks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Request body:&lt;BR /&gt;{&lt;BR /&gt;"uris": [&lt;BR /&gt;"spotify:track:320lwWuMpZ6b0aN2RZ0eMS"&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Any ideas why Spotify allows playlist creation but blocks adding tracks?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 19:15:18 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/403-Forbidden-on-Add-Tracks-to-Playlist-API-despite-valid-scopes/m-p/7444688#M21417</guid>
      <dc:creator>soundsdj</dc:creator>
      <dc:date>2026-05-20T19:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: 403 Forbidden on Add Tracks to Playlist API despite valid scopes</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/403-Forbidden-on-Add-Tracks-to-Playlist-API-despite-valid-scopes/m-p/7444697#M21418</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/27255550"&gt;@soundsdj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should use&amp;nbsp;&lt;STRONG&gt;items&lt;/STRONG&gt; instead of&amp;nbsp;&lt;EM&gt;tracks&lt;/EM&gt;. This also applies to&amp;nbsp;&lt;EM&gt;episodes&lt;/EM&gt;,&amp;nbsp;&lt;EM&gt;shows&lt;/EM&gt;,&amp;nbsp;&lt;EM&gt;albums&lt;/EM&gt;, and&amp;nbsp;&lt;EM&gt;audiobooks&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;Look for all the changes to the API in &lt;A title="February 2026 Web API Dev Mode Changes - Migration Guide" href="https://developer.spotify.com/documentation/web-api/tutorials/february-2026-migration-guide" target="_blank" rel="noopener"&gt;this page&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 19:23:19 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/403-Forbidden-on-Add-Tracks-to-Playlist-API-despite-valid-scopes/m-p/7444697#M21418</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2026-05-20T19:23:19Z</dc:date>
    </item>
  </channel>
</rss>

