spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
981 stars 79 forks source link

Unable to create playlists #1486

Open krishangpatney opened 4 years ago

krishangpatney commented 4 years ago

Issue found on February 25th 2020. https://github.com/plamere/spotipy/issues/444

Endpoint(s):

Scope(s):

Expected behaviour:

spotipy.client.SpotifyException: http status: 403, code:-1 - https://api.spotify.com/v1/users//playlists: You cannot create a playlist for another user.

Actual behaviour:

http status: 403, code:-1 (consistently)

kevinguebert commented 4 years ago

It looks like from the other ticket that it didn't work on the developers site. I think that should probably be the first step to see if something is up.

To follow the steps:

  1. Visit https://developer.spotify.com/console/post-playlists/
  2. Click "Get Token"
  3. Make sure playlist-modify-public playlist-modify-private are both checked
  4. Request token
  5. Login and accept
  6. In a different tab go to https://www.spotify.com/is/account/overview/ and confirm it's the same account as you just logged in with in step 5.
  7. Copy your username
  8. Go back to https://developer.spotify.com/console/post-playlists/
  9. Input your username in for user_id
  10. Response is on the right side.

If there is an error in the console, do you mind sharing it here afterward?

krishangpatney commented 4 years ago

Hey, so that worked, but how would I be doing this through python? Since thats where the main issue comes up from. (it also requires my uri)