[GH-ISSUE #21] post() error check too aggressive #9

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

Originally created by @drsm79 on GitHub (Aug 16, 2014).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/21

https://github.com/drsm79/spotipy/blob/master/spotipy/init.py#L110 means that a 201 (Created) fails. That seems to break creating playlists, at least. The check should be for >=400.

Originally created by @drsm79 on GitHub (Aug 16, 2014). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/21 https://github.com/drsm79/spotipy/blob/master/spotipy/__init__.py#L110 means that a 201 (Created) fails. That seems to break creating playlists, at least. The check should be for >=400.
kerem closed this issue 2026-02-27 23:20:22 +03:00
Author
Owner

@plamere commented on GitHub (Aug 22, 2014):

Issue fixed. Thx!

<!-- gh-comment-id:53075612 --> @plamere commented on GitHub (Aug 22, 2014): Issue fixed. Thx!
Author
Owner

@drsm79 commented on GitHub (Aug 27, 2014):

Great 👍

<!-- gh-comment-id:53608690 --> @drsm79 commented on GitHub (Aug 27, 2014): Great :+1:
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#9
No description provided.