[GH-ISSUE #369] 'Premium required' even with error #217

Closed
opened 2026-02-27 23:21:26 +03:00 by kerem · 2 comments
Owner

Originally created by @FryPhilip on GitHub (Apr 16, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/369

I get the ' Player command failed: Premium required ' error even tho I have Premium.
I tried making a second account with the free premium but that resulted in the same error.
But what really confuses me is that the response link given with says:
'https://api.spotify.com/v1/me/player/shuffle?state=true'
}
"error": {
"status": 401,
"message": "No token provided"
}
}
Has anyone else had this?

Originally created by @FryPhilip on GitHub (Apr 16, 2019). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/369 I get the ' Player command failed: Premium required ' error even tho I have Premium. I tried making a second account with the free premium but that resulted in the same error. But what really confuses me is that the response link given with says: 'https://api.spotify.com/v1/me/player/shuffle?state=true' } "error": { "status": 401, "message": "No token provided" } } Has anyone else had this?
kerem closed this issue 2026-02-27 23:21:27 +03:00
Author
Owner

@slow-down commented on GitHub (Apr 23, 2019):

At the first sentence I already thought that you might forgot to enter you token.
Then further down I read "No token provided".
Well, you now know what to do

<!-- gh-comment-id:485755428 --> @slow-down commented on GitHub (Apr 23, 2019): At the first sentence I already thought that you might forgot to enter you token. Then further down I read "No token provided". Well, you now know what to do
Author
Owner

@FryPhilip commented on GitHub (Apr 23, 2019):

Ohh, yeah. Turns out i used the worng credentioal flow. Tried using the Client Credentials Flow but the shuffle command is user specific so you need to use the Authorization Code Flow. Now it works fine.

<!-- gh-comment-id:485756378 --> @FryPhilip commented on GitHub (Apr 23, 2019): Ohh, yeah. Turns out i used the worng credentioal flow. Tried using the Client Credentials Flow but the shuffle command is user specific so you need to use the Authorization Code Flow. Now it works fine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#217
No description provided.