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

addTracksToPlaylist throws 414 with lots of tracks #82

Open
gilbarbara opened this issue Aug 1, 2016 · 1 comment
Open

addTracksToPlaylist throws 414 with lots of tracks #82

gilbarbara opened this issue Aug 1, 2016 · 1 comment

Comments

@gilbarbara
Copy link

Hey

I'm trying to add 100 tracks to a playlist but the url is too long and fails. 414 - Request-URI Too Long
The API documentation say that you can post the tracks in the body instead the query string. Maybe it would fix this?

[s]

@JMPerez
Copy link
Collaborator

JMPerez commented Aug 1, 2016

@gilbarbara You are right, passing the list as a JSON in the body should fix it.
For the time being, try to split the list to make 2 requests instead of 1 until a fix is implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants