[API – album.getInfo] Album not found even if present on Last.fm

  • 4
  • Problem
  • Updated 4 years ago
  • Acknowledged
  • (Edited)
I'm using Last.fm API effectively to retrieve album art, but recently I found out that many albums that are present in the Last.fm database (and found in the website, with cover and all) when using album.getInfo they are simply not found.

This is the string I get when looking for Moth by Chairlift:

lfm status="failed"
error code="6"
Album not found
/error
/lfm

...but the album is there:

http://www.last.fm/music/Chairlift/Moth

Is there a way to manually retrieve these album from the API?
Photo of Daniele Bellè

Daniele Bellè

  • 8 Posts
  • 6 Reply Likes
  • frustrated

Posted 4 years ago

  • 4
Photo of Jon

Jon, Community & Customer Services

  • 5315 Posts
  • 3969 Reply Likes
Photo of Daniele Bellè

Daniele Bellè

  • 8 Posts
  • 6 Reply Likes
Yes, that works now, but not every title.

for example it can't find these:

http://www.last.fm/music/PJ+Harvey/Th...
http://www.last.fm/music/Iggy+Pop/Gar...
Photo of Jon

Jon, Community & Customer Services

  • 5315 Posts
  • 3969 Reply Likes
I see, so the problem primarily affects new releases, is that right?  

I'll ask what's up.
Photo of Daniele Bellè

Daniele Bellè

  • 8 Posts
  • 6 Reply Likes
Yes, primarily those. But I also think it could be about releases without scrobbles / songs attached.

Thank you for your time!
(Edited)
Photo of Neil McGillivray

Neil McGillivray

  • 34 Posts
  • 9 Reply Likes
Hi Jon

Any update on this issue?
Photo of SneakySensei

SneakySensei

  • 1 Post
  • 0 Reply Likes
When using the API method track.getInfo on newer releases: the album the track is on, is often not present in the data. Although it is present on the website, following the url in the given data.
I'm guessing that it's same bug that's causing this issue.

For example:
Adele - Hello: http://ws.audioscrobbler.com/2.0/?method=track.getInfo&api_key=YOUR_API_KEY&artist=adele&track=hello&format=json
Red Hot Chili Peppers - Go Robot: http://ws.audioscrobbler.com/2.0/?method=track.getInfo&api_key=YOUR_API_KEY&artist=red+hot+chili+peppers&track=go+robot&format=json

Is this bug still looked into?
Thanks for your time!