Help Wizard

Step 1

NEXT STEP

Constant 503 errors from API

Solved!

Constant 503 errors from API

API is constantly returning "503 Service Unavailable" with response body "upstream connect error or disconnect/reset before headers". Previously it used to happen somewhat frequent but now all the requests are failing with this error. No matter whether it's oauth2 token exchange request or just regular API call. 

 

This basically makes me unable to authorize using oauth and use the API at all. 

Reply

Accepted Solutions
Marked as solution

I think the issue should be resolved now. Please let us know in this thread if you are still seeing a high number of 503 status code responses from the API 🙂

View solution in original post

17 Replies

Same here 🙂 I can confirm that we are facing the exact same issue since few hours.

Thanks for reporting this, @clemraf and @Hoffs. We're looking into the problem here. I'll post in this thread when I have an update to share.

Marked as solution

I think the issue should be resolved now. Please let us know in this thread if you are still seeing a high number of 503 status code responses from the API 🙂

It looks resolved on our side — thanks for your help 🙂

looks to be working fine now

Still having this issue (had it since about December 2020), especially on auth endpoints (token refreshing, exchanging)

 

Any updates?

Hi, 

I am receiving 503 errors from the /related-artists endpoint after making a few hundred requests. Is this because I am making too many requests in a short time frame or is the server itself at fault here?

I am receiving a 503 error when trying to get top tracks/artist data. Any idea when this will be fixed?

Still getting 503's on top artists and tracks....

I still have the problem as well. Only the url "https://api.spotify.com/v1/me/top/artists?time_range=medium_term&limit=50&offset=0" is used by me at the moment and constantly results in a status 503.

Ive opened a specific issue for the top tracks and artists endpoint here: https://community.spotify.com/t5/Spotify-for-Developers/Top-artists-and-tracks-endpoint-gives-a-100-...

Please give it a like or reply if you experience the same issue so it gets under the radar at Spotify 🙂

While trying to make a get request to `https://api.spotify.com/v1/me/top/tracks?time_range=short_term&limit=10` i'm constantly receiving the following response:

```

Error: Request failed with status code 503
at e.exports (119-ca88ed76eda875b3.js:1)
at e.exports (119-ca88ed76eda875b3.js:1)
at XMLHttpRequest.S (119-ca88ed76eda875b3.js:1)

```

I'm still getting 503 errors as follows:

error503.PNG

This is happening again!

I'm having this issue since yesterday as well. Is there a fix underway?

Same problem here


@Netlob wrote:
Ive opened a specific issue for the top tracks and artists endpoint here: https://community.spotify.com/t5/Spotify-for-Developers/Top-artists-and-tracks-endpoint-gives-promo-codes.se
Please give it a like or reply if you experience the same issue so it gets under the radar at Spotify 🙂

Liked for visibility! I still occasionaly get this problem. Why is it even marked as solved if so many people are still complaining?

Suggested posts