Announcements

Help Wizard

Step 1

NEXT STEP

get-users-available-devices return empty even if I am opening the desktop app

get-users-available-devices return empty even if I am opening the desktop app

Hi, 

 

My problem is: I am opening the Spotify desktop app but when I call this API https://developer.spotify.com/console/get-users-available-devices/

it returns empty.

Reply
3 Replies

Same problem here. It always return empty.

I think I found the cause. I think they made some changes with the token 

 

A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details. The access token must have been issued on behalf of a user. The access token must have the user-read-playback-state scope authorized in order to read information.

Now they required scope (user-read-playback-state) when uses this endpoint. But I switched to use "Get Information About The User's Current Playback" instead.

 

The funny thing is I make the chrome extension and it's really annoying to use OAuth to display the permission for user to choose.

 

I have scope (user-read-playback-state) permission. But It still respon empty.

Suggested posts