<?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: Unable to remove tracks from playlist with Spotify Web API in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Unable-to-remove-tracks-from-playlist-with-Spotify-Web-API/m-p/5214383#M2601</link>
    <description>&lt;P&gt;I understood my own mistake by simply reading the doc :&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/general/guides/track-relinking-guide/" target="_blank"&gt;https://developer.spotify.com/documentation/general/guides/track-relinking-guide/&lt;/A&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;IMPORTANT: If you plan to do further operations on tracks (for example, removing the track from a playlist or saving it to “Your Music”), it is important that you operate on the **original** track id found in the `linked_from` object. Using the ID of the linked track returned at the root level will likely return an error or other unexpected result."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So what I did is use the relinked URI instead of the URI from the track and now it works ! Thanks anyway !&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 30 May 2021 11:54:17 GMT</pubDate>
    <dc:creator>KaSSa_</dc:creator>
    <dc:date>2021-05-30T11:54:17Z</dc:date>
    <item>
      <title>Unable to remove tracks from playlist with Spotify Web API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Unable-to-remove-tracks-from-playlist-with-Spotify-Web-API/m-p/5214364#M2600</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;Belgium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MSI GS60 (Google Chrome with Web API and Web Playback SDK)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 10&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;Hi, I'm using the Spotify Web API and Spotify Web Playback SDK to create an app where I can basically sort my playlists .&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I use the "GET&amp;nbsp;/v1/me/playlists" query to get all the user's playlists (with "fields" and "limit" parameters).&lt;/LI&gt;&lt;LI&gt;I use the "GET&amp;nbsp;/v1/playlists/{playlist_id}/tracks" query to get all the tracks from all the playlists (with the "fields", "limit" and "market" parameters to know if a track can be played through the Web Playback SDK with the is_playable property).&lt;/LI&gt;&lt;LI&gt;I use the "DELETE&amp;nbsp;/v1/playlists/{playlist_id}/tracks" command to remove the selected tracks from the playlist (I give the URIs I retrieved from the previous query).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;When using the 3rd command, I receive an HTTP 200 response saying everything went fine but when I go to the Spotify App, the tracks are still there. When I remove the "market" parameter from the 2nd request, it works because the URIs have changed and are correct but I lose the "is_playable" property from the tracks so I can't know if a track can be played through the Web Playback SDK...&lt;/P&gt;&lt;P&gt;Is there a way to have both the "is_playable" information and have the ability to remove tracks ?&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 11:05:42 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Unable-to-remove-tracks-from-playlist-with-Spotify-Web-API/m-p/5214364#M2600</guid>
      <dc:creator>KaSSa_</dc:creator>
      <dc:date>2021-05-30T11:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to remove tracks from playlist with Spotify Web API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Unable-to-remove-tracks-from-playlist-with-Spotify-Web-API/m-p/5214383#M2601</link>
      <description>&lt;P&gt;I understood my own mistake by simply reading the doc :&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/general/guides/track-relinking-guide/" target="_blank"&gt;https://developer.spotify.com/documentation/general/guides/track-relinking-guide/&lt;/A&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;IMPORTANT: If you plan to do further operations on tracks (for example, removing the track from a playlist or saving it to “Your Music”), it is important that you operate on the **original** track id found in the `linked_from` object. Using the ID of the linked track returned at the root level will likely return an error or other unexpected result."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So what I did is use the relinked URI instead of the URI from the track and now it works ! Thanks anyway !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 11:54:17 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Unable-to-remove-tracks-from-playlist-with-Spotify-Web-API/m-p/5214383#M2601</guid>
      <dc:creator>KaSSa_</dc:creator>
      <dc:date>2021-05-30T11:54:17Z</dc:date>
    </item>
  </channel>
</rss>

