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

Playback tracks without active devices

Playback tracks without active devices

Hi everyone!
I'm building an app for iOS devices using Spotify Web API.
The problem is that without active devices track playback does not work, the server returns the response:
Response data: {
"error" : {
"status" : 404,
"message" : "Player command failed: No active device found",
"reason" : "NO_ACTIVE_DEVICE"
}
}
If I don't activate a device, and send a request to output all the devices available for my Spotify account, the response comes back with an empty list:
{
"devices": []
}
So, I need to manually open the official Spotify app, then enable any track, then the device becomes active and I can use the API request to play any other track in my code?
I'm sure many people have faced this problem and I really hope someone has a way to solve it, how can I play tracks without manually activating the device, otherwise I don't understand why Spotify API exists at all? To display track titles and album art? Maybe I'm a fool and displaying track titles is a very useful feature, but I think it just limits all the developers who want to contribute to app development and get more users for Spotify itself.

Reply
0 Replies

Suggested posts