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

SpotifyApi, 403 'Forbidden'

Solved!

SpotifyApi, 403 'Forbidden'

Hello ! I want to access my account's player to manage playbacks.

According to API I received the token and passed in the header - rules

{ "scope", "user-modify-playback-state"}

In response, I received a status of 200 and a token, also the rights that I requested.

But when I make a Pause Playback request - "https://api.spotify.com/v1/me/player/pause" I get a 403 - 'Forbidden' response.

In the request, I specify only the token

Plan

Premium

My Question or Issue

What am I doing wrong ?

Reply

Accepted Solutions
Marked as solution

I looked through the answer from the second request and saw in the description of the error that I needed a Premium that I did not renew... xD

sad.

View solution in original post

1 Reply

Isn't it {"scope""user-modify-playback-state"}

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

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