Announcements

Help Wizard

Step 1

NEXT STEP

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?

Reply
2 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,
Hubo
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?

Suggested posts