- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to get Followed Artists:
https://developer.spotify.com/documentation/web-api/reference/get-followed
I am requesting Access Token:
CLIENT_ID=<client_id> &&\
CLIENT_SECRET=<client_secret> &&\
SCOPES=user-follow-read
curl -X POST "https://accounts.spotify.com/api/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials&client_id=${CLIENT_ID}&client_secret=${CLIENT_SECRET}&scope=${SCOPES}"
with generated Access Token I am trying to get followed artists:
TOKEN=<token>
curl -X GET \
--url 'https://api.spotify.com/v1/me/following?type=artist&limit=50' \
--header "Authorization: Bearer ${TOKEN}"
curl returns:
{
"error" : {
"status" : 400,
"message" : "Client credentials authentication not allowed"
}
}
what is wrong here?
Solved! Go to Solution.
Labels:
- Labels:
-
API Support
-
Followed Artists
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