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

token API returning 403

token API returning 403

Plan

Premium

Country

United Kingdom

Device

Windows PC

Operating System

Windows 10

 

My Question or Issue

 

So I am developing a way to add spotify to my AI bot, however when I am trying to setup a function to start playing my spotify, I get 403 no matter what with my access token. I think it is because of my scopes, but I see no documentation on scopes with access tokens, and as seen in the image below, the pause/play endpoint supports token API

JamieGrimwood_0-1680897486561.png

 

 And here is my code:

JamieGrimwood_1-1680897486561.png

 


Any idea why this isn't working is much appreciated, because i'm starting to get to the stage of banging my head against my desk.

 

Reply
1 Reply

You are trying to use Client Credentials when Authorization is required.

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

Staff
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…

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random

Type a product name