Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Track available markets sometimes empty list instead of missing

Track available markets sometimes empty list instead of missing

Hello,

The `available_markets` attribute of a track seems to vary from missing to an empty list. This happens in the track call, when a market is specified. Previously I think the markets were always missing. It seems that often on first attempt the attribute is missing, but subsequently returned as an empty list. Not always though.

 

Any chance this is not intended? It makes validating the response just a tad more complicated.

 

Example track: "spotify:track:6v3KW9xbzN5yKLt9YKDYA2" with "US" market

Reply
1 Reply

It also seems that this is not the case for the "tracks" endpoint, only for a single track.

Suggested posts

Type a product name