Announcements

Help Wizard

Step 1

NEXT STEP

Who Me Too'd this topic

duration_ms suddenly returning float instead of int

Suddenly, the api.spotify.com/v1/tracks/{id} endpoint has started giving me track duration_ms as a float e.g.

"duration_ms": 2345.0,

The endpoint always used to return an int, which matches the documentation. Weirdly the response from the "try it" response sample still returns an int, but I think all that shows is how useless that thing is.

 

Who Me Too'd this topic