<?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: Getting a 502 bad gateway when trying to read /me/tracks in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/6696293#M16864</link>
    <description>Last time I tried I had the same problem. I don’t think adding an offset changes anything; that /tracks endpoint just always fails. Very annoying.&lt;BR /&gt;</description>
    <pubDate>Thu, 06 Feb 2025 00:46:01 GMT</pubDate>
    <dc:creator>scottonspot</dc:creator>
    <dc:date>2025-02-06T00:46:01Z</dc:date>
    <item>
      <title>Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5315584#M3773</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Belarus&lt;/STRONG&gt;&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;PC&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 10&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Description:&lt;BR /&gt;I have about 135,000 saved tracks in my library and I can't get a list of them.&lt;BR /&gt;Everything worked until there were not many saved tracks.&lt;BR /&gt;I can see the list of tracks in the desktop app. But the list is not displayed in the web player. After a long wait, it tells me that the playlist was not found.&lt;BR /&gt;Also, I cannot get the list using API Console (/me/tracks). I get the "502 Bad Gateway Error" in response.&lt;/P&gt;&lt;P&gt;Try to get /me/tracks for my user_id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Endpoint(s):&lt;/P&gt;&lt;P&gt;GET /v1/me/tracks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scope(s):&lt;/P&gt;&lt;P&gt;user-library-read&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to reproduce:&lt;BR /&gt;- Add 135,000 saved tracks&lt;BR /&gt;- Open the API Console&lt;BR /&gt;- Call the Get Current User's Saved Tracks endpoint /me/tracks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected behaviour:&lt;/P&gt;&lt;P&gt;Some data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual behaviour:&lt;/P&gt;&lt;P&gt;502 Bad Gateway Error&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 19:10:17 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5315584#M3773</guid>
      <dc:creator>derwish</dc:creator>
      <dc:date>2021-12-14T19:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5316308#M3789</link>
      <description>&lt;P&gt;What an impressive music collection,&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/25071657"&gt;@derwish&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you seeing the 502 error response from every request that you make to /me/tracks? Or does the request succeed some of the time for you?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 07:34:52 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5316308#M3789</guid>
      <dc:creator>spotifyjosh</dc:creator>
      <dc:date>2021-12-16T07:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5316441#M3791</link>
      <description>This happens on every request. The list of my tracks is never available either through the api or in the web player.</description>
      <pubDate>Thu, 16 Dec 2021 12:22:00 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5316441#M3791</guid>
      <dc:creator>derwish</dc:creator>
      <dc:date>2021-12-16T12:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5350788#M4162</link>
      <description>&lt;P&gt;I am having this same problem. I can get my user info from /me, but /me/tracks consistently gives 502 errors.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 15:12:07 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5350788#M4162</guid>
      <dc:creator>scottonspot</dc:creator>
      <dc:date>2022-03-05T15:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5350808#M4163</link>
      <description>&lt;P&gt;@spotifyjosh I tested the other /me endpoints and they all work except for /me/tracks and /me/albums, which both consistently return 502: Bad gateway.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 15:31:09 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5350808#M4163</guid>
      <dc:creator>scottonspot</dc:creator>
      <dc:date>2022-03-05T15:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5351210#M4165</link>
      <description>&lt;P&gt;The 502 error occurs even in the Spotify Developer console&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 16:09:22 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/5351210#M4165</guid>
      <dc:creator>scottonspot</dc:creator>
      <dc:date>2022-03-06T16:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/6692652#M16852</link>
      <description>&lt;P&gt;Did you manage to solve this?&lt;/P&gt;&lt;P&gt;I'm having the same issue with my app, it works well for every user, except for one that has 19k saved tracks. Seems like the API returns a 502 when there are too many tracks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps with an offset it works?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 16:19:19 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/6692652#M16852</guid>
      <dc:creator>Soch</dc:creator>
      <dc:date>2025-02-04T16:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/6696293#M16864</link>
      <description>Last time I tried I had the same problem. I don’t think adding an offset changes anything; that /tracks endpoint just always fails. Very annoying.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2025 00:46:01 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/6696293#M16864</guid>
      <dc:creator>scottonspot</dc:creator>
      <dc:date>2025-02-06T00:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a 502 bad gateway when trying to read /me/tracks</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/7101989#M18691</link>
      <description>&lt;P&gt;I'm getting 502 errors about 15-20% of the time with the /me/tracks endpoint. Super annoying - especially given the relatively small maximum limit of 50 tracks. Used to think the spotify API was a stellar example of goodness.&amp;nbsp;With the elimination of being able to get my Spotify created playlists (which I have seen no formal explanation for) and repeated 502 errors - especially on my liked tracks (about 40K), and API errors my Tesla has fought with (and are a result of Spotify errors) I've changed to seeing it an example of how not to do end user APIs. I've paid a premium for Spotify - and the API access was a big driver in that - but I'm nearing the end of it being worth what I pay. Apple's Music API hasn't let me down yet. Just sayin'... And so no one at Spotify is surprised where long time evangelists and fans are heading...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Aug 2025 21:01:03 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-a-502-bad-gateway-when-trying-to-read-me-tracks/m-p/7101989#M18691</guid>
      <dc:creator>flyflyfly</dc:creator>
      <dc:date>2025-08-23T21:01:03Z</dc:date>
    </item>
  </channel>
</rss>

