System error

error:  malformed JSON string, neither tag, array, object, number, string or atom, at character offset 1 (before "<table width="100%" ...") at /opt/app/tradeindia/cw/modules/Website.pm line 1340.
context: 
... 
1336:  my $url = &get_backend() . '/component/rest/customized_sites/get_catalog_meta_info.html';
1337:  my $res = $ua->post( $url,{product_id=>$product_id});
1338:  my $response;
1339:  $response = $res->{_content};
1340:  my $data = decode_json($response);
1341:  if($data){
1342:  my $data_resp = $data->{'data'};
1343:  $resp_title = $data_resp->{'title'} if($data_resp->{'title'});
1344:  $resp_keywords = $data_resp->{'keywords'} if($data_resp->{'keywords'});
... 
code stack:  /opt/app/tradeindia/cw/modules/Website.pm:1340
/var/www/cw/cometenvirons.in/products_details.html:221
/var/www/cw/cometenvirons.in/autohandler.html:207
/opt/app/tradeindia/cw/components/syshandler.html:76
raw error






























malformed JSON string, neither tag, array, object, number, string or atom, at character offset 1 (before "<table width="100%" ...") at /opt/app/tradeindia/cw/modules/Website.pm line 1340.


Trace begun at /usr/share/perl5/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 1 (before "<table width="100%" ...") at /opt/app/tradeindia/cw/modules/Website.pm line 1340.^J') called at /opt/app/tradeindia/cw/modules/Website.pm line 1340
Website::output_metainfo('Website=HASH(0x563fa62f2788)', 'product_obj', 'HASH(0x563fa778db88)') called at /var/www/cw/cometenvirons.in/products_details.html line 221
HTML::Mason::Commands::__ANON__('fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x563fa78a1828)', 'fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x563fa79a17b8)') called at /var/www/cw/cometenvirons.in/autohandler.html line 207
HTML::Mason::Commands::__ANON__('fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x563fa789e720)', 'fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x563fa79a17b8)') called at /opt/app/tradeindia/cw/components/syshandler.html line 76
HTML::Mason::Commands::__ANON__('fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x563fa7470370)', 'fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'fn', 'temprature-humidity-test-chamber', 'product_id', 5554054) called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x563fa79a17b8)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x563fa79a17b8)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x563fa7477af0)', 'Apache2::RequestRec=SCALAR(0x563fa6a98d38)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 125
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 124
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x563fa6a98d38)') called at -e line 0
eval {...} at -e line 0