[PR #29] [CLOSED] Fix: "correlationId" extraction error due to Spotify changes (#28) #46

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

📋 Pull Request Information

Original PR: https://github.com/Aran404/SpotAPI/pull/29
Author: @Leogendra
Created: 4/2/2025
Status: Closed

Base: mainHead: main


📝 Commits (2)

  • 2f1063b Fix(client): bypass broken correlationId extraction due to Spotify frontend changes (#28)
  • eb3bf77 Chore(deps): bump tls_client to 1.0.1 and add pymongo + redis to requirements.txt

📊 Changes

2 files changed (+6 additions, -3 deletions)

View changed files

📝 requirements.txt (+4 -2)
📝 spotapi/utils/strings.py (+2 -1)

📄 Description

This PR fixes the error related to the extraction of "correlationId" in the get_session() method, caused by recent changes to Spotify's frontend. Since the Spotify homepage seems to no longer includes the expected token, the fix bypasses the Substring "correlationId":" not found in JSON string error described in issue #28, while maintaining compatibility with the rest of SpotAPI.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Aran404/SpotAPI/pull/29 **Author:** [@Leogendra](https://github.com/Leogendra) **Created:** 4/2/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`2f1063b`](https://github.com/Aran404/SpotAPI/commit/2f1063bddf48cfb90120b666a89401467b6e9b6f) Fix(client): bypass broken correlationId extraction due to Spotify frontend changes (#28) - [`eb3bf77`](https://github.com/Aran404/SpotAPI/commit/eb3bf773ba2c0b7c1b1d0ed8083e4fbf270279d6) Chore(deps): bump tls_client to 1.0.1 and add pymongo + redis to requirements.txt ### 📊 Changes **2 files changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `requirements.txt` (+4 -2) 📝 `spotapi/utils/strings.py` (+2 -1) </details> ### 📄 Description This PR fixes the error related to the extraction of "correlationId" in the get_session() method, caused by recent changes to Spotify's frontend. Since the Spotify homepage seems to no longer includes the expected token, the fix bypasses the Substring "correlationId":" not found in JSON string error described in issue #28, while maintaining compatibility with the rest of SpotAPI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:06:37 +03:00
kerem changed title from [PR #29] [CLOSED] Fix: "correlationId" extraction error due to Spotify changes (#28) to [PR #29] Fix: "correlationId" extraction error due to Spotify changes (#28) 2026-03-07 19:38:10 +03:00
kerem changed title from [PR #29] Fix: "correlationId" extraction error due to Spotify changes (#28) to [PR #29] [CLOSED] Fix: "correlationId" extraction error due to Spotify changes (#28) 2026-03-14 20:22:58 +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#46
No description provided.