<?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 Create Playlist endpoint returning a 403 error in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5300939#M3668</link>
    <description>&lt;P&gt;I am using the oauth flow with refresh_token and access_token, with the following scopes:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'user-read-private user-library-read playlist-read-private playlist-modify-private playlist-modify-public playlist-read-collaborative'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I was able to successfully call the endpoint with a curl, then deleted the playlist on the Spotify mac app. I am trying to call it programmatically and keep getting a 403.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any suggestions would be much appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 21 Nov 2021 20:51:41 GMT</pubDate>
    <dc:creator>egoudet</dc:creator>
    <dc:date>2021-11-21T20:51:41Z</dc:date>
    <item>
      <title>Create Playlist endpoint returning a 403 error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5300939#M3668</link>
      <description>&lt;P&gt;I am using the oauth flow with refresh_token and access_token, with the following scopes:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'user-read-private user-library-read playlist-read-private playlist-modify-private playlist-modify-public playlist-read-collaborative'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I was able to successfully call the endpoint with a curl, then deleted the playlist on the Spotify mac app. I am trying to call it programmatically and keep getting a 403.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any suggestions would be much appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 21 Nov 2021 20:51:41 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5300939#M3668</guid>
      <dc:creator>egoudet</dc:creator>
      <dc:date>2021-11-21T20:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Playlist endpoint returning a 403 error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5301183#M3669</link>
      <description>&lt;P&gt;Post the code where you call it programatically.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 06:18:10 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5301183#M3669</guid>
      <dc:creator>Peter_Schorn</dc:creator>
      <dc:date>2021-11-22T06:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create Playlist endpoint returning a 403 error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5301513#M3678</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code: &lt;A href="https://github.com/goudete/PlaylistGenerator/blob/master/endpoints/playlists/createPlaylists.js#L17" target="_blank"&gt;https://github.com/goudete/PlaylistGenerator/blob/master/endpoints/playlists/createPlaylists.js#L17&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need additional information.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Enrique&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 16:25:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5301513#M3678</guid>
      <dc:creator>egoudet</dc:creator>
      <dc:date>2021-11-22T16:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create Playlist endpoint returning a 403 error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5301525#M3679</link>
      <description>&lt;P&gt;Did you check to see if the request returns a body with an error message?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, post the full URL and body data that you are sending.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 16:42:22 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5301525#M3679</guid>
      <dc:creator>Peter_Schorn</dc:creator>
      <dc:date>2021-11-22T16:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create Playlist endpoint returning a 403 error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5301532#M3680</link>
      <description>&lt;P&gt;I think I found the problem:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sending the wrong user id in the query string. Instead of sending the spotify user id, I am sending my own user id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 16:46:41 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Create-Playlist-endpoint-returning-a-403-error/m-p/5301532#M3680</guid>
      <dc:creator>egoudet</dc:creator>
      <dc:date>2021-11-22T16:46:41Z</dc:date>
    </item>
  </channel>
</rss>

