ledesmablt / spotify-cli

Control Spotify playback on any device through the command line.
MIT License
116 stars 15 forks source link

Spotify API - 400 Bad Request #13

Closed Nuckerr closed 3 years ago

Nuckerr commented 3 years ago

When I run spotify play --uri https://open.spotify.com/track/71HjxIPItGd2tRkUrBSP5T?si=766408e917094a1e or any song uri for that matter, it gives me Error: Spotify API - 400 Bad Request. I'm running this in windows 10 powershell in administrator mode

ledesmablt commented 3 years ago

Hi @Nuckerr , a Spotify track's URI is different from its URL (which is what you provided). The URI should look something like this - spotify:track:<track ID>

You can read more about it here.