Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Item to Playback Queue no longer returns valid JSON and is breaking the client #119

Open
dmmulroy opened this issue Jul 10, 2024 · 2 comments

Comments

@dmmulroy
Copy link
Contributor

A change must have been made to the Add Item to Playback Queue api endpoint as it now returns text, just the track id, and this library makes the assumption that all endpoints return valid json. This is causing a SyntaxError to be throw when JSON.parse is called here: https://github.com/spotify/spotify-web-api-ts-sdk/blob/main/src/serialization/DefaultResponseDeserializer.ts#L8

image

@Mergemat
Copy link

same with pausePlayback and startResumePlayback

@DopiGFX
Copy link

DopiGFX commented Jul 11, 2024

Can confirm

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

No branches or pull requests

3 participants