I'm calling Get a Track API using the following track_id to get preview url.
Sample 1
GET https://api.spotify.com/v1/tracks/6nnyNtQlMYz0hAbElgGYVm Response: "preview_url": "https://p.scdn.co/mp3-preview/390a59df2a79986224bf6efa45de8e6974666f46?cid=774b29d4f13844c495f206cafdad9c86"
Sample 2
GET https://api.spotify.com/v1/tracks/7xpMRRc0rSfvLSk5fAlyWS Response: "preview_url": "https://p.scdn.co/mp3-preview/0e93c5335c80a74799912404cc176c0fa7c386d2?cid=774b29d4f13844c495f206cafdad9c86"
Both of these preview_url return 404 Error.
What could be causing the preview_url to 404?
Is there any way to get a playable preview_url for these tracks?
Best regards from Yokohama
ezeroms
Hey @ezeroms, thanks for reporting this issue. I am unable to reproduce it on my end, and the two preview_urls you shared in your post play the 30-sec segments of the respective tracks on my end.
Are you still experiencing this issue? If you are, please share any additional information that might help us get to the bottom of your issue i.e. what browser you are using to play the preview_urls.
Sounds similar to my issue here. Have you figured anything out?