Skip Menu |

This queue is for tickets about the Net-LastFM CPAN distribution.

Report information
The Basics
Id: 133654
Status: open
Priority: 0/
Queue: Net-LastFM

People
Owner: Nobody in particular
Requestors: aberry [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: LastFM Bug
Date: Mon, 2 Nov 2020 12:51:17 +0000
To: bug-Net-LastFM [...] rt.cpan.org
From: Andrew Berry <aberry [...] gmail.com>
Last few days getting the following error on code that used to work: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<!DOCTYPE html>\n<ht...") at /usr/local/share/perl/5.26.1/Net/LastFM.pm line 83. Simply trying to pull most recent track. my $lastfm = Net::LastFM->new(... my $data = $lastfm->request_signed( method => 'user.getRecentTracks', user => 'xxx', ); Thanks, Andrew
On Mon Nov 02 07:51:42 2020, aberry@gmail.com wrote: Show quoted text
> Last few days getting the following error on code that used to work: > > malformed JSON string, neither tag, array, object, number, string or atom, > at character offset 0 (before "<!DOCTYPE html>\n<ht...") at > /usr/local/share/perl/5.26.1/Net/LastFM.pm line 83. > > Simply trying to pull most recent track. > > my $lastfm = Net::LastFM->new(... > > my $data = $lastfm->request_signed( > method => 'user.getRecentTracks', > user => 'xxx', > );
I'm having exactly the same problem. Digging into it, I see that the HTTP request is returning "411 Length Required". Dave...