Announcements

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

Who Me Too'd this topic

Does the public user API endpoint now require user authentication?

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.

Who Me Too'd this topic