Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Hey so I'm using the web-api search endpoint to query for albums, but the response I get omits any information about the album's genre/label. While in the docs and example response in the endpoint playground does show these parameters.
There seems to be a mismatch here, or a bug, because if you click Try it from the endpoint playground (shown as the right panel), the live response also omits the genre and label for each album.
The type in question is SimplifiedAlbumObject
https://developer.spotify.com/documentation/web-api/reference/search
Any help with this would be great as I need this information for my searches, otherwise I will have to query each individual album for this info!
Thanks!
JG
Solved! Go to Solution.
Docs have now been updated to reflect the actual shape of "SimplifiedAlbumObject" which unfortunately omits label and genre.
Hopefully the devs will add genre and label to search results in the future as the only way to check would be to query individual releases, which creates unnecessary load on the service.
Thanks
Sorry wrong topic And I couldn't find a way to delete my comment.. Good luck with your search
Hey just bumping this!
As you can see the following properties are missing from the response:
Oh I notice that these parameters havent got a "Required" tag. Not sure what a "Required" tag would mean in the context of a response object. Any ideas how to get these properties?
EDIT: Looks as though the required tag doesnt influence other endpoints (e.g. album), these work fine.
Hey,
I have encountered the same problem. The genres are available for Albums and Artists endpoints, but not for Tracks.
Would be great if someone could comment on this.
Best,
Dee
Yeah I just tested and yes it's the same, I think the Tracks endpoint actually uses the same "SimplifiedAlbumObject" as the Search endpoint. Any response from the Spotify peeps would be great.
Cheers!
Hi! Just bumping again.
This is really simple to reproduce, all you need to do is go to:
https://developer.spotify.com/documentation/web-api/reference/search
Click "try it" on the query playground and try find any of the following properties in the results:
`albums.items[0].copyrights`
`albums.items[0].external_ids`
`albums.items[0].genres`
`albums.items[0].label`
`albums.items[0].popularity`
`albums.items[0].album_group`
Can anyone take a look into this or at least update the documentation to remove these properties from the schema?
Hello! Just bumping again. Would appreciate a response from someone at spotify. Cheers!
We are looking into this and will update the thread when we have more information.
Hi @aspleenic thanks for the message, have we had any updates?
This problem affects my app quite badly - any updates?
There are no genres available for albums, only for artists.
Yep this is the issue, genre and label info is meant to be available for albums, see the SimplifiedAlbumObject definition in the documentation.
It's not a bug, it's simply not a feature that's been developed. The information simply doesn't exist yet.
The only "bug" is that the documentation is ahead of the feature.
In my original message i say "There seems to be a mismatch here, or a bug".
A mismatch in the documentation or a bug on spotify's backend.
I'm looking for confirmation of either.
Id like part of the team to confirm.
Hello!
For a moment I thought this was fixed, I was getting `"genres": ["Egg punk", "Noise rock"]` from the endpoint tester, but it was just the static placeholder response 🙂
Getting the genre/label for an album has a lot of uses so it would be great to get this working.
Any updates are welcome, thank you.
Docs have now been updated to reflect the actual shape of "SimplifiedAlbumObject" which unfortunately omits label and genre.
Hopefully the devs will add genre and label to search results in the future as the only way to check would be to query individual releases, which creates unnecessary load on the service.
Thanks
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…