Web Services also affected by new site launch?

  • 15
  • Problem
  • Updated 5 years ago
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: This conversation has been inactive for over 6 months and is now closed.

I'm noticing that existing applications that I have built are getting back empty JSON responses when being called.  For example:

http://ws.audioscrobbler.com/2.0/?method=user.gettopartists&user=celston&api_key=APIKEY...
Photo of celston80

celston80

  • 8 Posts
  • 7 Reply Likes

Posted 5 years ago

  • 15
Photo of Pierre Ferré

Pierre Ferré

  • 5 Posts
  • 1 Reply Like
That API call is working fine for me.
Photo of celston80

celston80

  • 8 Posts
  • 7 Reply Likes
It seems to quit working if you request a limit above 100.  I'm normally doing requests for 500+.
Photo of Elena  Ciobanu

Elena Ciobanu

  • 1 Post
  • 0 Reply Likes
+msgstr
Photo of Matt

Matt

  • 1 Post
  • 2 Reply Likes
I've been getting the following error when using:  method=geo.getevents

{"error":{"code":3,"message":"Invalid Method - No method with that name in this package"}}
Photo of John Woo

John Woo

  • 1 Post
  • 1 Reply Like
Same problem here.
Photo of xenosender

xenosender

  • 1 Post
  • 1 Reply Like
same problem with artist.getEvents and artist.getPastEvents
Photo of defeedme

defeedme

  • 3 Posts
  • 2 Reply Likes
same
Photo of Paul Wright

Paul Wright

  • 26 Posts
  • 4 Reply Likes
Beta.lastfm can't find spotify again and can't find spotify and said  its installing it I am a Subscriber
Soptify and when those clowns can't find it but brings it up my Soptify shows a bad request and then I have to close and restart Soptify to get it to work again
Photo of Mike Woodling

Mike Woodling

  • 6 Posts
  • 4 Reply Likes
I haven't been able to connect since the very minute the site switched over... Dumb.
Photo of Laifot RW

Laifot RW

  • 2 Posts
  • 0 Reply Likes
I didnt have problems just yet with scrobbling with Spotify, and i didnt do anything like unlinking my profile and stuff, of course some scrobblings were lost but i do it like always did and no major troubles were spotted so far.
Photo of Armando Sáncer

Armando Sáncer

  • 8 Posts
  • 0 Reply Likes
I have issues with spotify web player but not with spotify normal app. Anyway, it is frustrating
Photo of ThijsE

ThijsE

  • 1 Post
  • 2 Reply Likes
You can find spotify via the last.fm app if you go to the spotify webplayer (https://play.spotify.com)and go to the settings (cog wheel left bottom corner) and check: play open.spotify.com URL's in desktop app. Now the library, mix and recommendations will play through spotify!
Photo of Panou Urban

Panou Urban

  • 9 Posts
  • 44 Reply Likes
That's true, Foobar doesn't display the Last.fm artist bio anymore.
Photo of Jacob Kristhammar

Jacob Kristhammar

  • 1 Post
  • 1 Reply Like
1) The group API is no longer working for me
2) The user.getRecentTracks doesn't seem to have the same response structure anymore. 
When calling it with limit 1 "recenttracks.track" only used to be an Array if there was also a "now playing" track reported – otherwise a single track object. Now it always seems to be an Array and I don't get any "now playing" reported from from Spotify.
Photo of Rowolta

Rowolta

  • 25 Posts
  • 7 Reply Likes
Photo of Guillaume Lecomte

Guillaume Lecomte

  • 7 Posts
  • 26 Reply Likes
I don't want to sound entitled because I love the lastfm API and it's a central piece of an app I'm building but why don't you do at least regression tests to ensure the response schema/content has not changed?

The API url looks like it is versionned (the 2.0 in http://ws.audioscrobbler.com/2.0/), it's a bit misguided to change it under our feets.

Anyway, I wish you all the best for the new website and I really hope it will succeed but I'm getting sceptical after the last weeks, it really looks like you didn't prepare a clear migration path and a pseudo beta version is now live without rollback possible.
Photo of snyde1

snyde1

  • 109 Posts
  • 72 Reply Likes
Guillaume - I agree entirely. I am waiting for all of this (database import, API calls restoration) to get sorted out before I even look at the API again.
Photo of Boris Nostars

Boris Nostars

  • 10 Posts
  • 29 Reply Likes
Yea, I believe they've screwed up API too. Actually I surprised it returns something, since I've been getting "Invalid API key" response for any call I made for the last few days.
(Edited)
Photo of Pierre Ferré

Pierre Ferré

  • 5 Posts
  • 1 Reply Like
Think they've been migrating data, so bound to be inconsistent for a few days. Bear in mind that this is in beta state. 
Photo of Pierre Ferré

Pierre Ferré

  • 5 Posts
  • 1 Reply Like
It might be live, but is still in beta state. They'll probably remove the beta when everything is stabilised. 
Photo of Paul Wright

Paul Wright

  • 26 Posts
  • 4 Reply Likes
lastfm is still connecting to spotify but its playing the songs lastfm isnt responding to spotify
Photo of jenniazwas

jenniazwas

  • 1 Post
  • 1 Reply Like
Really a shame that lastfm is such a mess!! I have been subscribing since 2004 stopped and started back up. Too bad you guys just can't make fm like it was in the beginning. I don't understand why the changes when it seems so difficult to get it right!!  :(  You have lost sooooo very many subscribing listeners through all these changes Doesn't that tell you guys something???????
Photo of Mark Bryans

Mark Bryans

  • 24 Posts
  • 55 Reply Likes

no one use youtube then type in the band you want to listen to, then click on mix. It's just like classic last.fm.

If more people paste this message or tell people to use this method, then last.fm will get the message that the classic layout was better

Photo of defeedme

defeedme

  • 3 Posts
  • 2 Reply Likes
agreed
Photo of Roboto BPM

Roboto BPM

  • 1 Post
  • 1 Reply Like
API calls for artists events fail ( NetworkError: 400 Bad Request )

for example:
http://ws.audioscrobbler.com/2.0/?method=artist.getEvents&artist=kraftwerk&api_key=APIKEY&format=json

returns
{"error":{"code":3,"message":"Invalid Method - No method with that name in this package"}}
Photo of iloveudead .

iloveudead .

  • 1 Post
  • 0 Reply Likes
Track.getsimilar fails for me with 
{
error: 3,
message: "Invalid Method - No method with that name in this package"
}


(Edited)
Photo of Lamar Francois

Lamar Francois

  • 1 Post
  • 0 Reply Likes


RockScrobbler seems to have been broken for the last few days too - as are a few other manual scrobbling apps I've seen going round , wouldn't surprise me if it was because the API was screwed too.
Photo of celston80

celston80

  • 8 Posts
  • 7 Reply Likes
So there appears to be some progress but still a few things amiss.  The original method that I was having trouble with, user.gettopartists, is working now.

The code I had written in PHP was actually using this library:

https://github.com/dandelionmood/php-lastfm

It's meant to be pretty multi-purpose so it was submitting all requests via POST even if it didn't require authentication.  What I found out was that requests sent via POST get returned as XML even if format=json is specified.

Also, this method is throwing a error: 3, message: "Invalid Method - No method with that name in this package"

http://ws.audioscrobbler.com/2.0/?method=library.gettracks&api_key=APIKEY&user=joanofarctan&...
Photo of Pedro Zembruski Nunes

Pedro Zembruski Nunes

  • 1 Post
  • 1 Reply Like
what the hell? last.fm is scrobbling someone else's plays on my profile - why change?????
i am quitting this shit!
Photo of hei hå

hei hå

  • 2 Posts
  • 3 Reply Likes
Yeah, this happened to me too...
Photo of liilliil

liilliil

  • 14 Posts
  • 17 Reply Likes
Yes, all RSS and iCal feeds are dead
Photo of Hal J Chan

Hal J Chan

  • 1 Post
  • 0 Reply Likes
Unbelievable, really. I can't tell what should I feel. Angry or sad...
Photo of jarrett.ridlinghafer

jarrett.ridlinghafer

  • 2 Posts
  • 1 Reply Like
PLEX API integration is still broken, getting "Invalid Key" error I can send the exact error if need be, just let me know..

I do see it was scratched off the list as being completed so assuming you missed or have yet to test Plex.tv server integration?

Thanks,
Jarrett
jarrett.ridlinghafer@gmail.com
Photo of Erik Lavander

Erik Lavander

  • 3 Posts
  • 1 Reply Like
The docs (http://www.last.fm/api/webauth) for the authentication and app authorization API states that the starting point for an auth request is

http://www.last.fm/api/auth/?api_key=<my api key>

This currently returns a 404. However,

http://www.last.fm/api/auth?api_key=<my api key>

(final slash removed) works fine. Note: Most browsers automatically removes the slash. Use wget/curl for testing.
Also, the callback URL gets mangled. My app settings define the callback url template as

https://djmarkov.com/complete/lastfm/

When attempting to authorize my app, this is the redirect the user gets back:

https://djmarkov.comcomplete/lastfm/?token=<token>

Notice the missing first path separator (/).

Anyone else seeing the same behaviour?
Photo of Erik Lavander

Erik Lavander

  • 3 Posts
  • 1 Reply Like
The 404 problem is/was probably not specific to the auth API. Seems to be working OK now.

This conversation is no longer open for comments or replies.