This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
983
stars
79
forks
source link
Family plan account doesn't return current track #1361
Create OAuth token for a user account that is part of a family plan
Click "Try it"
Expected behaviour:
An object showing the current playing track of the user, or an empty response if no track is currently playing.
Actual behaviour:
204 server response regardless if music is playing or not. Console returns absolutely no response at all. I'm able to see the response is a 204 if I check the last response feature of the following api wrapper: jwilsson/spotify-web-api-php
Additional notes:
Context: the account in question is used as an "office jukebox" and is an account that is part of a family plan of an employee.
I was able to test my code with my personal account which is not part of a family plan and is premium. It worked and I was able to see my currently playing track.
I can see the device the user is playing from via a /v1/me/player/devices request. Currently it's being played off an IPad.
It is not a private session.
The account is set to stream its activity, or have its activity public.
Update: The iPad was an iPad 2, which was running an ancient version of the Spotify App. Using a more recent version of the app, everything works fine.
Issue found on October 16th, 2019.
Endpoint(s):
Scope(s):
Steps to reproduce:
Expected behaviour:
An object showing the current playing track of the user, or an empty response if no track is currently playing.
Actual behaviour:
204 server response regardless if music is playing or not. Console returns absolutely no response at all. I'm able to see the response is a 204 if I check the last response feature of the following api wrapper: jwilsson/spotify-web-api-php
Additional notes: