We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I'm using spotify.api.addToMySavedTracks, but i get a network error (status 400) in the console:
spotify.api.addToMySavedTracks
responseText: "{\"error\": {\"status\": 400, \"message\": \"Missing required field: ids\" } }"
It seems that this package sends as payload just an array of ids, but spotify expects this format:
{ "ids": [ "string" ] }
To Reproduce Steps to reproduce the behavior:
spotify.api.addToMySavedTracks([id])
Expected behavior I expect it to not error and use {ids:[]} as request payload
{ids:[]}
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
I'll try to make a pr for it
Source: https://developer.spotify.com/documentation/web-api/reference/save-tracks-user
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I'm using
spotify.api.addToMySavedTracks
, but i get a network error (status 400) in the console:It seems that this package sends as payload just an array of ids, but spotify expects this format:
To Reproduce
Steps to reproduce the behavior:
spotify.api.addToMySavedTracks([id])
Expected behavior
I expect it to not error and use
{ids:[]}
as request payloadScreenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
I'll try to make a pr for it
Source: https://developer.spotify.com/documentation/web-api/reference/save-tracks-user
The text was updated successfully, but these errors were encountered: