Announcements

Help Wizard

Step 1

NEXT STEP

401 Permission missing

Solved!

401 Permission missing

Plan

Free/Premium

Country

 

Device

(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)

Operating System

(iOS 10, Android Oreo, Windows 10,etc.)

 

My Question or Issue

I use to be able to get the devices using:

GET https://api.spotify.com/v1/me/player/devices

But now I always get that:

{
"error" : {
"status" : 401,
"message" : "Permissions missing"
}
}

All my other request works fine. I set the following scope to get my token:

  • playlist-read-private
  • playlist-read-collaborative
  • user-modify-playback-state
  • user-read-currently-playing
  • user-read-playback-position

I can't figure out why I'm not able to get the devices anymore and I always return 401 Permission missing ?!

Reply

Accepted Solutions
Marked as solution

I find the solution for that: simply add the scope : "user-read-playback-state"

ref: https://developer.spotify.com/documentation/web-api/reference/get-a-users-available-devices

 

Note to myself: read the %$#@ documentation...

View solution in original post

1 Reply
Marked as solution

I find the solution for that: simply add the scope : "user-read-playback-state"

ref: https://developer.spotify.com/documentation/web-api/reference/get-a-users-available-devices

 

Note to myself: read the %$#@ documentation...

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