Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Plan
Premium
Country
United States
Operating System
Windows 11
My Question or Issue
Getting the error below despite my plan being Premium...
curl -X "POST" "https://api.spotify.com/v1/me/player/next" -H "Authorization: Bearer BQCqmBGyrLhdwVAyiU-PjCh4QRi9yMDRPaJ-Qk5YVpqxnxtWVXwZA6JC4z2RHiLMuYgwfLNyHJPUpWdnTy9Y3xWiDHa_7tj302Ct9-UAJ6VynWDZ1ClIO6I1_Pdiy6-7VJves6xkas4" -H "Content-length: 0"
{
"error" : {
"status" : 403,
"message" : "Player command failed: Premium required",
"reason" : "PREMIUM_REQUIRED"
}
}
Solved! Go to Solution.
Hi @kikitogi
Thank you for your reply.
As I can see now, you are trying to use Client Credentials.
This endpoint requires you to login, and Client Credentials doesn't support this.
Instead, you should use another Authorization Code Flow from this page.
I hope this helps. If you need further assistance, feel free to ask.
Hi @kikitogi
Thanks for posting this in the Spotify Community!
To troubleshoot, how did you acquire this Bearer token?
curl -X POST "https://accounts.spotify.com/api/token" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=client_credentials&client_id=4af86c3aa77d434ebe16dff4dbd3f492&client_secret=2f9e955e2fe340e4aa7acff534e3c44f"
{"access_token":"BQCqmBGyrLhdwVAyiU-PjCh4QRi9yMDRPaJ-Qk5YVpqxnxtWVXwZA6JC4z2RHiLMuYgwfLNyHJPUpWdnTy9Y3xWiDHa_7tj302Ct9-UAJ6VynWDZ1ClIO6I1_Pdiy6-7VJves6xkas4","token_type":"Bearer","expires_in":3600}
Getting the error below despite my plan being Premium...
curl -X "POST" "https://api.spotify.com/v1/me/player/next" -H "Authorization: Bearer BQCqmBGyrLhdwVAyiU-PjCh4QRi9yMDRPaJ-Qk5YVpqxnxtWVXwZA6JC4z2RHiLMuYgwfLNyHJPUpWdnTy9Y3xWiDHa_7tj302Ct9-UAJ6VynWDZ1ClIO6I1_Pdiy6-7VJves6xkas4" -H "Content-length: 0" { "error" : { "status" : 403, "message" : "Player command failed: Premium required", "reason" : "PREMIUM_REQUIRED" } }
Hi @kikitogi
Thank you for your reply.
As I can see now, you are trying to use Client Credentials.
This endpoint requires you to login, and Client Credentials doesn't support this.
Instead, you should use another Authorization Code Flow from this page.
I hope this helps. If you need further assistance, feel free to ask.
Was able to do OAuth 2.0 authorization so we are a step closer.
Here now is the new error I am getting:
{
"error" : {
"status" : 401,
"message" : "Permissions missing"
}
}
Great news, I missed specifying the requested scope before. It works now.
Thanks very much for your insights.
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…