Announcements
Happy Values Week! Today we celebrate *Support* in the Spotify Stars Program!

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

Error: 403, Fetching Audio Features

Solved!

Error: 403, Fetching Audio Features

I created an app few days ago, to create a recommendation system. The web API is fetching track details. But whenever I am requesting audio features related to a track id, I get a 403 error. There is no problem with authentication. 

Here's the scope variable for reference:

scope = "user-library-read playlist-read-private playlist-read-collaborative user-read-private" 

 

I am using SpotifyOAuth for authentication. 

 

Here's the specific error I am getting: 

HTTP Error for GET to https://api.spotify.com/v1/audio-features/?ids=3ZDr3LJNCHailBSkpc29SF with Params: {} returned 403 due to None

spotipy.exceptions.SpotifyException: http status: 403, code: -1 - https://api.spotify.com/v1/audio-features/?ids=3ZDr3LJNCHailBSkpc29SF:

 

Any idea what's causing this access problem? Any help is appreciated. Thank you in advance.

 

Reply

Accepted Solutions
Marked as solution

That endpoint is "Deprecated" for new apps since November 27, 2024

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.

View solution in original post

3 Replies
Marked as solution

That endpoint is "Deprecated" for new apps since November 27, 2024

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.

Then there is no way to fetch such data? 

Sadly, no.

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