System error

error:  malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /opt/app/tradeindia/cw/modules/Website.pm line 1314.
context: 
... 
1310:  my $url = &get_backend() . '/component/rest/customized_sites/get_catalog_meta_info.html';
1311:  my $res = $ua->post( $url,{product_id=>$product_id});
1312:  my $response;
1313:  $response = $res->{_content};
1314:  my $data = decode_json($response);
1315:  if($data){
1316:  my $data_resp = $data->{'data'};
1317:  $resp_title = $data_resp->{'title'} if($data_resp->{'title'});
1318:  $resp_keywords = $data_resp->{'keywords'} if($data_resp->{'keywords'});
... 
code stack:  /opt/app/tradeindia/cw/modules/Website.pm:1314
/var/www/cw/crescentbiotech.com/products_details.html:61
/opt/app/tradeindia/cw/components/common/default-dhandler.html:16
/var/www/cw/crescentbiotech.com/dhandler.html:13
/var/www/cw/crescentbiotech.com/dautohandler.html:15
/var/www/cw/crescentbiotech.com/autohandler.html:257
/opt/app/tradeindia/cw/components/syshandler.html:76
raw error






























malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /opt/app/tradeindia/cw/modules/Website.pm line 1314.


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 0 (before "(end of string)") at /opt/app/tradeindia/cw/modules/Website.pm line 1314.^J') called at /opt/app/tradeindia/cw/modules/Website.pm line 1314
Website::output_metainfo('Website=HASH(0x55eef9109cb0)', 'product_obj', 'HASH(0x55eef90f3718)') called at /var/www/cw/crescentbiotech.com/products_details.html line 61
HTML::Mason::Commands::__ANON__('product_id', 5638643) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55eef74c8da8)', 'product_id', 5638643) 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, 'product_id', 5638643) called at /opt/app/tradeindia/cw/components/common/default-dhandler.html line 16
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55eef90f9c90)') 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) called at /var/www/cw/crescentbiotech.com/dhandler.html line 13
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55eef9350388)') 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) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55eef9701a08)') called at /var/www/cw/crescentbiotech.com/dautohandler.html line 15
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55eef8121f08)') 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) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55eef9701a08)') called at /var/www/cw/crescentbiotech.com/autohandler.html line 257
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55eef910ea78)') 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) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x55eef9701a08)') called at /opt/app/tradeindia/cw/components/syshandler.html line 76
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55eef916ad10)') 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) 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(0x55eef9701a08)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55eef9701a08)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55eef74c2ef8)', 'Apache2::RequestRec=SCALAR(0x55eef910ebe0)') called at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 94
eval {...} at /opt/app/tradeindia/cw/modules/B2B/Handler/CW.pm line 93
B2B::Handler::CW::handler('Apache2::RequestRec=SCALAR(0x55eef910ebe0)') called at -e line 0
eval {...} at -e line 0