You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't have been playing anything on Spotify app on the device for a while
Spotify api PUT request from app
Error: no active device
Play something and pause it on Spotify
Spotify api PUT request from app
Successful playing of song
Expected behaviour:
For the device to always be Active.
Actual behaviour:
Inconsistent 404 error.
Body of post:
I have been using the Spotify api and have been receiving this '404 no Active device' error quite a bit. If I play a song on Spotify and pause it after receiving the error, the error goes away and I am able to send the PUT request to PLAY a song on Spotify from my app.
However if the device has been left without playing a track on Spotify then I receive the same error.
How long after using Spotify to play a track does it take until Spotify api deems the Spotify account/device as inactive? Is there a way to set devices as always being active so I don't have this problem?
Issue found on August 1st 2019.
Endpoint(s):
PUT https://api.spotify.com/v1/me/player/play
Scope(s):
Steps to reproduce:
Expected behaviour:
For the device to always be Active.
Actual behaviour:
Inconsistent 404 error.
Body of post:
I have been using the Spotify api and have been receiving this '404 no Active device' error quite a bit. If I play a song on Spotify and pause it after receiving the error, the error goes away and I am able to send the PUT request to PLAY a song on Spotify from my app.
However if the device has been left without playing a track on Spotify then I receive the same error.
How long after using Spotify to play a track does it take until Spotify api deems the Spotify account/device as inactive? Is there a way to set devices as always being active so I don't have this problem?