<?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: Spotify Web API &amp;quot;Update Playlist Items&amp;quot; Endpoint HTTP PUT Returns 405 in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API-quot-Update-Playlist-Items-quot-Endpoint-HTTP/m-p/6097895#M14028</link>
    <description>&lt;P&gt;I had the exact same problem, no changes to my code and suddenly the request does not work anymore. I encountered the problem the first time on May 2nd.&lt;/P&gt;&lt;P&gt;Turns out my library used the endpoint "/users/{user_id}/playlists/{playlist_id}/tracks"&lt;/P&gt;&lt;P&gt;I changed to "/playlists/{playlist_id}/tracks" and now it works!&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2024 20:08:31 GMT</pubDate>
    <dc:creator>BaumGardine</dc:creator>
    <dc:date>2024-05-27T20:08:31Z</dc:date>
    <item>
      <title>Spotify Web API "Update Playlist Items" Endpoint HTTP PUT Returns 405</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API-quot-Update-Playlist-Items-quot-Endpoint-HTTP/m-p/6053377#M13803</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Free and premium plans are affected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;United States&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;Google Pixel 7 Pro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Android 14&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've been using this endpoint for about four years to replace the contents of an existing Spotify playlist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Web API /&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;References / Playlists / Update Playlist Items&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;PUT: /playlists/{playlist_id}/tracks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;On this May fourth, this endpoint began returning HTTP 405 "METHOD NOT ALLOWED" for PUT requests.&amp;nbsp; It still operates as documented for HTTP POST requests according to "Add Items to Playlist".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This issue has continued through today at least.&amp;nbsp; I was able to verify my parameters and accounts have not changed, plus I verified using another test account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This seems like a concrete bug since the behavior changed and the documentation is very specific that the HTTP PUT method should be support.&amp;nbsp; Thanks for getting this fixed!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;For others that are affected and while also acknowledging Spotify isn't quick to provide support - if ever - there IS a work-around.&amp;nbsp; The "Remove Playlist Items" endpoint can be used to remove items prior to adding them a whatever changed form is required.&amp;nbsp; I'm using this now to keep my systems running until we hear back from support.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 22:49:13 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API-quot-Update-Playlist-Items-quot-Endpoint-HTTP/m-p/6053377#M13803</guid>
      <dc:creator>Abominabl31</dc:creator>
      <dc:date>2024-05-06T22:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify Web API "Update Playlist Items" Endpoint HTTP PUT Returns 405</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API-quot-Update-Playlist-Items-quot-Endpoint-HTTP/m-p/6097895#M14028</link>
      <description>&lt;P&gt;I had the exact same problem, no changes to my code and suddenly the request does not work anymore. I encountered the problem the first time on May 2nd.&lt;/P&gt;&lt;P&gt;Turns out my library used the endpoint "/users/{user_id}/playlists/{playlist_id}/tracks"&lt;/P&gt;&lt;P&gt;I changed to "/playlists/{playlist_id}/tracks" and now it works!&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 20:08:31 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API-quot-Update-Playlist-Items-quot-Endpoint-HTTP/m-p/6097895#M14028</guid>
      <dc:creator>BaumGardine</dc:creator>
      <dc:date>2024-05-27T20:08:31Z</dc:date>
    </item>
  </channel>
</rss>

