<?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 Get 500 Internal Server Error on https://api.spotify.com/v1/me/top/tracks in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-on-https-api-spotify-com-v1-me-top/m-p/5020305#M964</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do a GET request on /me/top/tracks but I get a 500 internal server error.&lt;/P&gt;&lt;P&gt;I first do a POST request for a bearer token:&lt;/P&gt;&lt;P&gt;curl --location --request POST '&lt;A href="https://accounts.spotify.com/api/token?grant_type=client_credentials&amp;amp;scope=user-top-read" target="_blank" rel="noopener"&gt;https://accounts.spotify.com/api/token?grant_type=client_credentials&amp;amp;scope=user-top-read&lt;/A&gt;' \&lt;BR /&gt;--header 'Content-Type: application/x-www-form-urlencoded' \&lt;BR /&gt;--header 'Authorization: Basic xxx'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works and I get a bearer token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl --location --request GET '&lt;A href="https://api.spotify.com/v1/me/top/tracks" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/me/top/tracks&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer yyy'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I receive a 500 internal server error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2020 21:13:59 GMT</pubDate>
    <dc:creator>lvthillo</dc:creator>
    <dc:date>2020-08-19T21:13:59Z</dc:date>
    <item>
      <title>Get 500 Internal Server Error on https://api.spotify.com/v1/me/top/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-on-https-api-spotify-com-v1-me-top/m-p/5020305#M964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do a GET request on /me/top/tracks but I get a 500 internal server error.&lt;/P&gt;&lt;P&gt;I first do a POST request for a bearer token:&lt;/P&gt;&lt;P&gt;curl --location --request POST '&lt;A href="https://accounts.spotify.com/api/token?grant_type=client_credentials&amp;amp;scope=user-top-read" target="_blank" rel="noopener"&gt;https://accounts.spotify.com/api/token?grant_type=client_credentials&amp;amp;scope=user-top-read&lt;/A&gt;' \&lt;BR /&gt;--header 'Content-Type: application/x-www-form-urlencoded' \&lt;BR /&gt;--header 'Authorization: Basic xxx'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works and I get a bearer token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl --location --request GET '&lt;A href="https://api.spotify.com/v1/me/top/tracks" target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/me/top/tracks&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer yyy'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I receive a 500 internal server error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 21:13:59 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-on-https-api-spotify-com-v1-me-top/m-p/5020305#M964</guid>
      <dc:creator>lvthillo</dc:creator>
      <dc:date>2020-08-19T21:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get 500 Internal Server Error on https://api.spotify.com/v1/me/top/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-on-https-api-spotify-com-v1-me-top/m-p/5729756#M11787</link>
      <description>&lt;P&gt;Did you solve this? I'm also stuck here&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:01:06 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-on-https-api-spotify-com-v1-me-top/m-p/5729756#M11787</guid>
      <dc:creator>MichaelRose</dc:creator>
      <dc:date>2023-12-06T15:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get 500 Internal Server Error on https://api.spotify.com/v1/me/top/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-on-https-api-spotify-com-v1-me-top/m-p/5729817#M11788</link>
      <description>&lt;P&gt;Since the &lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/client-credentials-flow" target="_blank" rel="noopener"&gt;Client Credentials flow&lt;/A&gt; does not include authorization, only endpoints that do not access user information can be accessed. Therefore, in this case, you should use a different &lt;A href="https://developer.spotify.com/documentation/web-api/concepts/authorization" target="_blank" rel="noopener"&gt;Authorization&lt;/A&gt; method that lets you log in.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:34:36 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-500-Internal-Server-Error-on-https-api-spotify-com-v1-me-top/m-p/5729817#M11788</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2023-12-06T15:34:36Z</dc:date>
    </item>
  </channel>
</rss>

