System error

error:  malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /var/www/html/educational_standards.html line 52.
context: 
... 
48:  $r->content_type(q{text/html});
49:  my $topics = $m->cache->get("educational_st_topics");
50: 
51:  unless (defined $topics) {
52:  $topics = $json->decode( $rcl->get_rest("/get_edust_topics/" ) );
53:  $m->cache->set("educational_st_topics", $topics, "30m"); # set cache for 30 minutes
54:  }
55:  </%init>
56:  %#---------------------------------------------------------
... 
code stack:  /var/www/html/educational_standards.html:52
/usr/local/share/perl/5.34.0/HTML/Mason/Component.pm:135
/var/www/html/autohandler:82
/usr/local/share/perl/5.34.0/HTML/Mason/Component.pm:135
raw error






























malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /var/www/html/educational_standards.html line 52.


Trace begun at /usr/local/share/perl/5.34.0/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /var/www/html/educational_standards.html line 52.^J') called at /var/www/html/educational_standards.html line 52
DNALC::Mason::dnalc_docker02_cshl_edu::__ANON__ at /usr/local/share/perl/5.34.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fbde808a8f0)') called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('MasonX::Request::WithApacheSession=HASH(0x7fbdbc0bebb8)') called at /var/www/html/autohandler line 82
DNALC::Mason::dnalc_docker02_cshl_edu::__ANON__ at /usr/local/share/perl/5.34.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fbdec3f28d8)') called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('MasonX::Request::WithApacheSession=HASH(0x7fbdbc0bebb8)') called at /usr/local/share/perl/5.34.0/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('MasonX::Request::WithApacheSession=HASH(0x7fbdbc0bebb8)') called at /usr/local/share/perl/5.34.0/MasonX/Request/WithApacheSession.pm line 130
MasonX::Request::WithApacheSession::exec('MasonX::Request::WithApacheSession=HASH(0x7fbdbc0bebb8)') called at /usr/local/share/perl/5.34.0/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('DNALC::Mason::ApacheHandler=HASH(0x556b110e8858)', 'Apache2::Request=SCALAR(0x7fbdbc061aa8)') called at /etc/apache2/mason.pl line 134
DNALC::Mason::handler('Apache2::RequestRec=SCALAR(0x556b13357cd0)') called at -e line 0
eval {...} at -e line 0