Error: Data structure returned is not convertible in the requested format. Try to call this method with the parameters '&format=original&serialize=1'; you will get the original php data structure serialized. The data structure looks like this: $data = array ( 'website' => 'e-training', 'prettyDate' => 'Week 20 January - 26 January 2020', 'metadata' => array ( 'category' => 'Visitors', 'name' => 'Country', 'module' => 'UserCountry', 'action' => 'getCountry', 'dimension' => 'Country', 'metrics' => array ( 'nb_visits' => 'Visits', 'nb_actions' => 'Actions', ), 'processedMetrics' => array ( 'nb_actions_per_visit' => 'Actions per Visit', 'avg_time_on_site' => 'Avg. Time on Website', 'bounce_rate' => 'Bounce Rate', 'conversion_rate' => 'Conversion Rate', ), 'uniqueId' => 'UserCountry_getCountry', ), 'columns' => array ( 'label' => 'Country', 'nb_visits' => 'Visits', 'nb_actions' => 'Actions', 'nb_actions_per_visit' => 'Actions per Visit', 'avg_time_on_site' => 'Avg. Time on Website', 'bounce_rate' => 'Bounce Rate', 'conversion_rate' => 'Conversion Rate', ), 'reportData' => array ( 0 => array ( 'label' => 'United States', 'nb_visits' => 5, 'nb_actions' => 7, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 1.4, 'avg_time_on_site' => '00:00:24', 'bounce_rate' => '80%', ), ), 'reportMetadata' => array ( 0 => array ( 'code' => 'us', 'logo' => 'plugins/UserCountry/flags/us.png', 'logoWidth' => 18, 'logoHeight' => 12, ), ), );