Skip to content

LB-1919: Fix spotify lookups by using raw API calls to spotipy to handle recent API changes#182

Closed
meekhumor wants to merge 2 commits intometabrainz:mainfrom
meekhumor:LB-1919-1
Closed

LB-1919: Fix spotify lookups by using raw API calls to spotipy to handle recent API changes#182
meekhumor wants to merge 2 commits intometabrainz:mainfrom
meekhumor:LB-1919-1

Conversation

@meekhumor
Copy link
Copy Markdown
Contributor

Problem

Spotify recently introduced changes to several of its web api endpoints. As a result, the current version of the spotipy library is no longer fully compatible.

Specifically, some of spotipy’s wrapper methods do not correctly parse these updated response structures, which causes playlist import and export functionality to fail.

Temporary Solution

Until an updated version of spotipy is released, this issue can be mitigated by bypassing the library’s wrapper methods and making raw http requests to the spotify web api.

This approach ensures compatibility with the new spotify api changes, serving as a temporary workaround until official spotipy library support is available.

@anshg1214
Copy link
Copy Markdown
Member

@meekhumor spotipy have released a new version https://github.com/spotipy-dev/spotipy/releases/tag/2.26.0 which includes the new API changes.

@amCap1712
Copy link
Copy Markdown
Member

fixed by updating spotipy instead.

@amCap1712 amCap1712 closed this Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants