<?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 WebAPI Authorization Code with PKCE 400 Error in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/WebAPI-Authorization-Code-with-PKCE-400-Error/m-p/6942463#M17733</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a small project to request player information from the WebAPI, however I am having a lot of issues with authentication.&amp;nbsp;&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 been following&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/code-pkce-flow" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/tutorials/code-pkce-flow&lt;/A&gt;&amp;nbsp;PKCE authentication guide as I am doing a single webpage application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed the guide and even copied the code directly, I have also tried using the GitHub example authorization_code_pkce. However, no matter what I do I get a bad request: 400 when requesting the access token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot see from any of the documentation where the formation error is coming from in the api/token POST request. Can any offer any guidance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the previously provided documentation and guides out of date considering the recent API changes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2025 18:39:43 GMT</pubDate>
    <dc:creator>Aidan3214</dc:creator>
    <dc:date>2025-04-30T18:39:43Z</dc:date>
    <item>
      <title>WebAPI Authorization Code with PKCE 400 Error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebAPI-Authorization-Code-with-PKCE-400-Error/m-p/6942463#M17733</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a small project to request player information from the WebAPI, however I am having a lot of issues with authentication.&amp;nbsp;&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 been following&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/code-pkce-flow" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/tutorials/code-pkce-flow&lt;/A&gt;&amp;nbsp;PKCE authentication guide as I am doing a single webpage application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed the guide and even copied the code directly, I have also tried using the GitHub example authorization_code_pkce. However, no matter what I do I get a bad request: 400 when requesting the access token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot see from any of the documentation where the formation error is coming from in the api/token POST request. Can any offer any guidance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the previously provided documentation and guides out of date considering the recent API changes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 18:39:43 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebAPI-Authorization-Code-with-PKCE-400-Error/m-p/6942463#M17733</guid>
      <dc:creator>Aidan3214</dc:creator>
      <dc:date>2025-04-30T18:39:43Z</dc:date>
    </item>
  </channel>
</rss>

