<?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: 401 Error in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/401-Error/m-p/6245761#M14668</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;DukeEmree, Welcome to the Community!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error 401 means:&amp;nbsp;Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.&lt;BR /&gt;Access tokens are only valid for 1 hour.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are using the&amp;nbsp;Authorization code (with or without PKCE), you can refresh the token, as you can &lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens" target="_blank" rel="noopener"&gt;read here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if this answered your question, and if you have other questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Aug 2024 16:56:21 GMT</pubDate>
    <dc:creator>Ximzend</dc:creator>
    <dc:date>2024-08-06T16:56:21Z</dc:date>
    <item>
      <title>401 Error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/401-Error/m-p/6245204#M14663</link>
      <description>&lt;P&gt;I get a 401 error. I don't share the code because the code works properly in local. When I make a request to the API, it gives a 401 error. Server is running on edge. What can cause this problem?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 12:05:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/401-Error/m-p/6245204#M14663</guid>
      <dc:creator>DukeEmree</dc:creator>
      <dc:date>2024-08-06T12:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: 401 Error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/401-Error/m-p/6245761#M14668</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;DukeEmree, Welcome to the Community!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error 401 means:&amp;nbsp;Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.&lt;BR /&gt;Access tokens are only valid for 1 hour.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are using the&amp;nbsp;Authorization code (with or without PKCE), you can refresh the token, as you can &lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens" target="_blank" rel="noopener"&gt;read here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if this answered your question, and if you have other questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Aug 2024 16:56:21 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/401-Error/m-p/6245761#M14668</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2024-08-06T16:56:21Z</dc:date>
    </item>
  </channel>
</rss>

