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/view line 170.
context: 
... 
166:  # ugly fix
167:  my $content_rcl = $rcl;
168: 
169:  my $cms_cat = defined $cat_name && $cat_name ne "" && exists $category_map{$cat_name}
170:  ? $json->decode( $rcl->get_rest("/get_concept/" . $category_map{$cat_name}) )
171:  : undef;
172:  my $category = $cms_cat ? $cms_cat : $categories->[$category_map{$cat_name}];
173:  if ($cat_name =~ /search=(.*)$/i) {
174:  $search = $1;
... 
code stack:  /var/www/html/view:170
/usr/local/share/perl/5.34.0/HTML/Mason/Component.pm:146
/usr/local/share/perl/5.34.0/HTML/Mason/Request.pm:944
/var/www/html/view:148
/usr/local/share/perl/5.34.0/HTML/Mason/Component.pm:135
/var/www/html/autohandler:8
/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/view line 170.


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/view line 170.^J') called at /var/www/html/view line 170
DNALC::Mason::dnalc_docker02_cshl_edu::__ANON__ at /usr/local/share/perl/5.34.0/HTML/Mason/Component.pm line 146
HTML::Mason::Component::dynamic_subs_init('HTML::Mason::Component::FileBased=HASH(0x7f5e30103fb8)') called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 944
HTML::Mason::Request::call_dynamic('MasonX::Request::WithApacheSession=HASH(0x7f5e70071e18)', 'method_title') called at /var/www/html/view line 148
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::Subcomponent=HASH(0x7f5e300dddf8)') 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) called at /var/www/html/autohandler line 8
DNALC::Mason::dnalc_docker02_cshl_edu::__ANON__('Causes', ' Diet: Prevention.html') called at /usr/local/share/perl/5.34.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f5e50aa8468)', 'Causes', ' Diet: Prevention.html') 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, 'Causes', ' Diet: Prevention.html') 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(0x7f5e70071e18)') called at /usr/local/share/perl/5.34.0/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('MasonX::Request::WithApacheSession=HASH(0x7f5e70071e18)') called at /usr/local/share/perl/5.34.0/MasonX/Request/WithApacheSession.pm line 130
MasonX::Request::WithApacheSession::exec('MasonX::Request::WithApacheSession=HASH(0x7f5e70071e18)') called at /usr/local/share/perl/5.34.0/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('DNALC::Mason::ApacheHandler=HASH(0x7f5e507ff500)', 'Apache2::Request=SCALAR(0x7f5e301ea898)') called at /etc/apache2/mason.pl line 134
DNALC::Mason::handler('Apache2::RequestRec=SCALAR(0x7f5e301cd1f8)') called at -e line 0
eval {...} at -e line 0