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

Remove a track from a playlist using API

Remove a track from a playlist using API

I'm trying to delete a track from a playlist with python. But it gives an error by the authentication. First I thought it was the scopes but it is added to my apps if i look at my apps. So now i don't now what the problem is.

 

This is my code:

access_token = self.get_access_token() (I know this works because I used it in a search function and got a result)

headers = {'Authorization':'Bearer %s' % (access_token),'Content-Type':'application/json'}

 

Error : 403

 

Can someone explain the problem?

 

 

Reply
1 Reply

Hey @JustRobbe, help's here!

Sorry for the late reply, hope you're well! I'd love to take a closer look. What scopes have you requested in your authentication? Also, what endpoint(s) are you using to remove the playlist? Let me know!

 

Have a good one,

Hubo

HuboSpotify 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