Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Who Me Too'd this topic

/v1/me/player/devices returns empty array

My Question or Issue
The /v1/me/player/devices endpoint returns empty list even when a spotify device is open.

 

Steps to reproduce:
1. Open Spotify on your Windows desktop machine (do not play anything)
2. Hit the /v1/me/player/devices endpoint. Notes: I am using a valid access token that was issued on behalf of a user, it also has the `user-read-playback-state` scope.

 

Expected Behavior:
The endpoint should return a list with 1 spotify device, the one I opened on step 1

 

Actual Behavior:
The endpoint returns an empty list.

 

Final Notes:
If I go and play some music on the spotify device opened on step 1 and hit the endpoint again, this time I do get the list with 1 spotify device.

 

In my opinion this is a bug because I can agree that the spotify device that is currently playing music should be marked as the active device, but I do not understand why the endpoint returns an empty array if I have a spotify device open but not playing music.

 

Any help would be much appreciated.
Thanks

Who Me Too'd this topic