[GH-ISSUE #298] Authentications simply not working... #169

Closed
opened 2026-02-27 23:21:11 +03:00 by kerem · 1 comment
Owner

Originally created by @Plopkonijn on GitHub (Jun 9, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/298

Trying to get it to work. I've done:
SET SPOTIPY_CLIENT_ID=3bc077932594438db9329051e4a86392
SET SPOTIPY_CLIENT_SECRET= "SECRET DUH"
SET SPOTIPY_REDIRECT_URI= http://localhost/

got the following url

https://accounts.spotify.com/authorize?client_id=3bc077932594438db9329051e4a86392&response_type=code&redirect_uri=+http%3A%2F%2Flocalhost%2F&scope=playlist-modify-public

but this returns a "Bad Request" error on running

add_tracks_to_playlist.py plopkonijn 7qOO1XgvujpSNcgGoZNOV1 1eYY6nY4KiKXAT7QIQKyl5

image

Originally created by @Plopkonijn on GitHub (Jun 9, 2018). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/298 Trying to get it to work. I've done: SET SPOTIPY_CLIENT_ID=3bc077932594438db9329051e4a86392 SET SPOTIPY_CLIENT_SECRET= "SECRET DUH" SET SPOTIPY_REDIRECT_URI= http://localhost/ got the following url https://accounts.spotify.com/authorize?client_id=3bc077932594438db9329051e4a86392&response_type=code&redirect_uri=+http%3A%2F%2Flocalhost%2F&scope=playlist-modify-public but this returns a "Bad Request" error on running add_tracks_to_playlist.py plopkonijn 7qOO1XgvujpSNcgGoZNOV1 1eYY6nY4KiKXAT7QIQKyl5 ![image](https://user-images.githubusercontent.com/2047097/41190788-31d01b98-6be5-11e8-809f-5b56b1b66bba.png)
kerem closed this issue 2026-02-27 23:21:11 +03:00
Author
Owner
<!-- gh-comment-id:573911978 --> @stephanebruckert commented on GitHub (Jan 13, 2020): Check if https://github.com/plamere/spotipy/issues/194#issuecomment-317192954 or https://github.com/plamere/spotipy/issues/402#issuecomment-573890067 helps
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#169
No description provided.