Open OliverColeman opened 6 years ago
More weirdness. These work:
spotifyApi.searchArtists("Earth");
spotifyApi.search("Earth", ["artist"]);
These give unauthorised error:
spotifyApi.searchAlbums("Earth");
spotifyApi.search("Earth", ["album"]);
I went back and forth between them with same token (over a few tokens), it's not a token expiry issue.
Have used lots of the endpoint functions exposed by this API, but am having trouble with the audio-features one.
If I do (after having retrieved and set an access token with the client credential flow method):
spotifyApi.getTrack("6jj5kO7tFT3ir8WbbVO0iU")
It works fine. If I do:spotifyApi.getAudioFeaturesForTrack("6jj5kO7tFT3ir8WbbVO0iU")
I get:I tried accessing the audio-features endpoint using the Spotify Web API Console (https://developer.spotify.com/web-api/console/get-audio-features-track) with the same track id and same access token and it worked.
Any ideas?