Remove a track from a playlist using API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Labels:
- Labels:
-
api
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page