Getting 403 error when using sp.audio_features
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
New to spotipy & trying out some simple examples to get tracks on a playlist and the audio_features for those tracks. Using my client id and client secret, I can get a playlist, get the tracks but once I try to get the audio_features I keep getting a 403 error. Code sample below. What am I doing wrong or missing to access the sp.audio_features?
playlist_id = '0NvTo731cP2l4wYwGFzdQ0'
results = sp.playlist_tracks(playlist_id, limit=10)
tracks = results['items']
track_ids = [track['track']['id'] for track in tracks]
audio_features = sp.audio_features(track_ids)
Labels:
- Labels:
-
Question
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