Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Web API randomly returns 404 for most endpoints #1160
Issue found on February 19th 2015.
Occasionally, certain endpoints suddenly return a
Steps to reproduce
It's a very hard issue to reproduce because it only seems to occur on the (heroku hosted) instance of my app. On localhost these issues are non existent. Could it be that my app is being rate limited? Though I would expect a
Is anyone running into this same issue?
I am also currently experiencing the same issue but with
I have tried it on my localhost and on a hosted application and it seems like there's a random chance of getting a 404 error for both environments. I also tested going to the Spotify playlist through the Spotify playlist link and there's also a chance of getting a 404 error, even though the playlist exists. If you reload over and over sometimes you'll get a 404 and sometimes you get the expected result.
FYI I've followed @steinitzu's advice to use a different applicationId for development and production. The 404 issue for me only occurred on my production app, but not on localhost. Changing the applicationId for the app on production made the 404's disappear
For me, it seems like there's something happening where if Spotify is left open but idle for a while, the connection between it and the Spotify API servers is de-registered. From then on, anything I do 404's, but if I manually do something in the Spotify app such as play a playlist, the connection is re-registered again.
This is a highly inconvenient thing for me having to manually bump Spotify whenever I want to programmatically do something.
Get Request : https://api.spotify.com/v1/me/playlists
Iam getting response.isSuccessful as failure , first time .means 404 not found api error . This api geting works only after refreshing my app again .
so i need to tackle this issue while integrating spotify in android for listing my current users playlists api