<?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 Error code 503: upstream connection error in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Error-code-503-upstream-connection-error/m-p/5423747#M5839</link>
    <description>&lt;P&gt;I am currently developing a script that interacts with the spotify api, everything worked fine yesterday but today it only gives back a error code 503 and when i read the response, it is "upstream connect error or disconnect/reset before headers. reset reason: connection termination".&lt;/P&gt;&lt;P&gt;The code that gives that error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    response = r.post(url='https://accounts.spotify.com/api/token',
                      data={
                          'grant_type': 'refresh_token',
                          'refresh_token': credentials['refreshToken']
                      }, headers={'Authorization': 'Basic ' + client_base64})
    if (response.status_code != 200):
        print("Error while refreshing: " + str(response.status_code))
        print(response.text)
        return&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone has any idea what I did wrong or why it doesnt do what it should.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2022 14:48:57 GMT</pubDate>
    <dc:creator>Luiggi33</dc:creator>
    <dc:date>2022-08-31T14:48:57Z</dc:date>
    <item>
      <title>Error code 503: upstream connection error</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Error-code-503-upstream-connection-error/m-p/5423747#M5839</link>
      <description>&lt;P&gt;I am currently developing a script that interacts with the spotify api, everything worked fine yesterday but today it only gives back a error code 503 and when i read the response, it is "upstream connect error or disconnect/reset before headers. reset reason: connection termination".&lt;/P&gt;&lt;P&gt;The code that gives that error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    response = r.post(url='https://accounts.spotify.com/api/token',
                      data={
                          'grant_type': 'refresh_token',
                          'refresh_token': credentials['refreshToken']
                      }, headers={'Authorization': 'Basic ' + client_base64})
    if (response.status_code != 200):
        print("Error while refreshing: " + str(response.status_code))
        print(response.text)
        return&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone has any idea what I did wrong or why it doesnt do what it should.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 14:48:57 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Error-code-503-upstream-connection-error/m-p/5423747#M5839</guid>
      <dc:creator>Luiggi33</dc:creator>
      <dc:date>2022-08-31T14:48:57Z</dc:date>
    </item>
  </channel>
</rss>

