Help Wizard

Step 1


Why are so many tracks preview URL's set to nil?

Why are so many tracks preview URL's set to nil?

I'm using a get request to get a random track from the entire Spotify library and display its name, the artist's name, cover art and play the previewURL. Why do so many of these random songs (most of them are pretty popular ones) do not have a previewURL? But if you take the same song that says the previewURL is nil and share it with a friend through iMessage via Spotify it has a preview URL?

3 Replies

Hey there, help's here!

Hmm, could you try specifying a market parameter in your request? Does the same thing happen? Let me know how you get on!

Have a good one,
HuboSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Hey sorry for the late response. I tried with specifying US as the market and got the same issues. Any other advice?

Please continue this i am having the same issue with no luck, it seems many popular artists songs who for sure have previews of their tracks (as seen by viewing via the app) cant be accessed via an api call, did we ever find a fix to this??

Suggested posts