/v1/me/player/devices returns empty array
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page