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

403 You cannot create a playlist for another user

403 You cannot create a playlist for another user

I run an iOS app called LineupSupply - 

https://apps.apple.com/us/app/lineupsupply-playlist-maker/id1631703551 which allows users create playlists. For a majority of users there is no issue. However some issues on shared family plans (Spotify Duo and other premium family plans) have issues creating playlists. They receive the error

 

"You cannot create a playlist for another user. (status code: 403)"

 

My code calls the /v1/me endpoint and passes in the resulting user id to the v1/users/user_id/playlists endpoint. 

 

For the majority of users this works, but I have reports from some users that they receive this error. All of the ones who have reported the issue are on a family plan type of account.

Reply
5 Replies

This is no longer an issue for me. I'm not seeing a way to delete the post

How did you solve it in the end? It does not work for me.

yeah. i'm also pretty stuck with this. anyone figured out why this is happening?

I think one reason why you'd get this error is if you attempt to decode the user id from UTF-8 to ASCII, a simple user id change of (for example) `débug` to `debug` would result in that error (based on my experience).

 

If you parse the user id prior to making the API call, try to store it raw and see if you get a different error, like this for example:

"URI::InvalidURIError: URI must be ascii only"

 

I'm still looking for a solution.

how to resolve above issue

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random