Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

Playlist API not returning deeply nested field

Playlist API not returning deeply nested field

I want to fetch user playlist items (tracks mainly) and for each track it's authors and for each author genres and images. This is the fields query parameter: `items.track(id,name,artists(id,name,genres,images))`. But API isn't returning "deeply nested" fields past artists (see response screenshot below)

 

eeeevrsince_0-1692872169787.png

Here is `curl` request copied from Web API reference:

```

curl --request GET \
--url 'https://api.spotify.com/v1/playlists/3cEYpjA9oz9GiPac4AsH4n/tracks?fields=items.track%28id%2Cname%2C...' \
--header 'Authorization: Bearer <token>'

```

 

This is probably a bug since example fields argument `items(added_by.id,track(name,href,album(name,href)))` fetches fields to the "same" depth (although artists is an array of objects)

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you, ย  Yeah, you!ย 😁 ย  Welcome - we're glad you joined the Spotify Community! ย  While you here, let's have a fun game and getโ€ฆ

ModeratorStaff / Moderator/ 5 years ago  in Social & Random