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.