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

Document 204 on "Get Information About The User's Current Playback"

Document 204 on "Get Information About The User's Current Playback"

When calling GET https://api.spotify.com/v1/me/player and the account doesn't have any device active/open, the endpoint returns a 204. However, this isn't documented here. It only lists a 200 status code.

 

It would be nice to have this possible status code included in the docs.

 

Btw.: even the web-console doesn't handle this status correctly. It tries to parse the 204 as JSON and no response is shown - only an error in the DevTools console.

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random