[GH-ISSUE #46] BaseClientError: Could not get session auth tokens 8.9.25 #26

Closed
opened 2026-02-27 19:06:30 +03:00 by kerem · 0 comments
Owner

Originally created by @girwin1 on GitHub (Sep 8, 2025).
Original GitHub issue: https://github.com/Aran404/SpotAPI/issues/46

This has happened again.

Seems to be _get_auth_vars() in the base client.

This:
resp = self.client.get("https://open.spotify.com/api/token", params=query)

returns:

{clientId: "CLIENT_ID_I_REMOVED_THIS",…}
accessToken
: 
"ACCESS_TOKEN_I_REMOVED_THIS"
accessTokenExpirationTimestampMs
: 
1757334684601
clientId
: 
"CLIENT_ID_I_REMOVED_THIS"
isAnonymous
: 
true
_notes
: 
"Usage of this endpoint is not permitted under the Spotify Developer Terms and Developer Policy, and applicable law"
Originally created by @girwin1 on GitHub (Sep 8, 2025). Original GitHub issue: https://github.com/Aran404/SpotAPI/issues/46 This has happened again. Seems to be _get_auth_vars() in the base client. This: resp = self.client.get("https://open.spotify.com/api/token", params=query) returns: ``` {clientId: "CLIENT_ID_I_REMOVED_THIS",…} accessToken : "ACCESS_TOKEN_I_REMOVED_THIS" accessTokenExpirationTimestampMs : 1757334684601 clientId : "CLIENT_ID_I_REMOVED_THIS" isAnonymous : true _notes : "Usage of this endpoint is not permitted under the Spotify Developer Terms and Developer Policy, and applicable law" ```
kerem closed this issue 2026-02-27 19:06:30 +03:00
Sign in to join this conversation.
No labels
pull-request
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/SpotAPI#26
No description provided.