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

Create Playlist for other user doesn't work

Create Playlist for other user doesn't work

I confirmed this through https://developer.spotify.com/documentation/web-api/reference/create-playlist 

May I know why it doesn't work in the docs? That would be a great starting point to fix first before I doubt myself of doing something wrong.

Reply
3 Replies

Hi @notkev1n 

 

Welcome to the Spotify Community! You're absolutely correct that an app can only create a playlist for the user who has authorized it. In other words, if a user logs into your app, the app can create a playlist for that specific user.

 

To ensure everything works smoothly, double-check that the logged-in user has granted the required permissions (playlist-modify-public or playlist-modify-private) and that the user_id in your request matches their Spotify account ID.

 

If you have any other questions or run into issues, feel free to ask.

 

Cheers!

 

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

In general, why does in docs doesn't work as well? That is the one I'm concerned about because that's the thing I rely all time. 

You can get the user id of the current logged in user, you in this case, using the Get Current User's Profile endpoint.

With the provided user id, it should work.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts