[GH-ISSUE #397] 405 error when creating playlists #233

Closed
opened 2026-02-27 23:21:32 +03:00 by kerem · 2 comments
Owner

Originally created by @tmni on GitHub (Oct 14, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/397

Even with a scope of 'playlist-modify-public', I'm still receiving a http status: 405, code:-1 error when calling:

sp.user_playlist_create(user=username,name = name, public=True),

which I'm assuming means I am still not granted access to create a playlist. I'm able to read playlists and all of my other permissions, though. Let me know if I'm completely missing something!

Originally created by @tmni on GitHub (Oct 14, 2019). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/397 Even with a scope of 'playlist-modify-public', I'm still receiving a `http status: 405, code:-1` error when calling: `sp.user_playlist_create(user=username,name = name, public=True)`, which I'm assuming means I am still not granted access to create a playlist. I'm able to read playlists and all of my other permissions, though. Let me know if I'm completely missing something!
kerem 2026-02-27 23:21:32 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@felix-hilden commented on GitHub (Oct 23, 2019):

HTTP 405 is "Method not allowed". Is the access token you are using in your client the user's token?

<!-- gh-comment-id:545363289 --> @felix-hilden commented on GitHub (Oct 23, 2019): HTTP 405 is "Method not allowed". Is the access token you are using in your client the user's token?
Author
Owner

@stephanebruckert commented on GitHub (Jan 1, 2020):

Possible duplicate, see if this answer helps https://github.com/plamere/spotipy/issues/380#issuecomment-573906147

<!-- gh-comment-id:570079395 --> @stephanebruckert commented on GitHub (Jan 1, 2020): Possible duplicate, see if this answer helps https://github.com/plamere/spotipy/issues/380#issuecomment-573906147
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#233
No description provided.