Does the public user API endpoint now require user authentication?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am currently building a server-side application using the Spotify API. Since I don't want to interact with any private user resources, I use client credentials for authentication.
While this works for all the music data endpoints, I am having issues with fetching an user's public profile with the (/v1/users/smedjan) endpoint.
The API returns the following error:
{"error": {"status": 401, "message": "Valid user authentication required" } }
Do I need to have a Spotify user logged in using the Authorization code flow for fetching public user data?
Fetching a user's public playlists (/v1/users/smedjan/playlists) works without any issues.
What is strange is that fetching a user profile without user auth had worked before (I tested it a few days ago) and the API docs don't show any authorization scopes for the endpoint.
I would like to know if there have been any changes on Spotify's side regarding that API endpoint.
- Labels:
-
Question
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page