You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.
Context: Both these calls have a query parameter called "ids". "ids" accepts a comma delimited string of Spotify IDs for tracks. However, "/v1/audio-features" will handle a trailing comma, while "/v1/tracks" does not. This can be most easily reproduced via the examples in their respective references -
It would be ideal if behaviour was consistent across both calls, as the parameter has the same name & both calls are sorted under the same "Tracks" section in the reference document. A user is likely to assume they share the same/similar logic.
I suspect that the intended behaviour is that "/v1/audio-features" shouldn't accept a trailing comma, particularly because JSON objects aren't supposed to accept them.
Actual behaviour:
The following is recieved, in the case of "/v1/tracks":
Issue found on 5th May 2020
Endpoint(s):
Scope(s):
Steps to reproduce:
Context: Both these calls have a query parameter called "ids". "ids" accepts a comma delimited string of Spotify IDs for tracks. However, "/v1/audio-features" will handle a trailing comma, while "/v1/tracks" does not. This can be most easily reproduced via the examples in their respective references -
Expected behaviour:
It would be ideal if behaviour was consistent across both calls, as the parameter has the same name & both calls are sorted under the same "Tracks" section in the reference document. A user is likely to assume they share the same/similar logic.
I suspect that the intended behaviour is that "/v1/audio-features" shouldn't accept a trailing comma, particularly because JSON objects aren't supposed to accept them.
Actual behaviour:
The following is recieved, in the case of "/v1/tracks":
{
"error": {
"status": 400,
"message": "invalid id"
}
}
In the case of "/v1/audio-features":
{
"audio_features": [...]
}
The text was updated successfully, but these errors were encountered: