API Fetch Records from the "Leads” Module Error

API Fetch Records from the "Leads” Module Error

Hello,
I'm trying to fetch records from the leads module with the Zoho API.
While doing so, and testing, I get this error


My code is:


              header("Content-type: application/xml");
              $token="AUTHTOKEN given by Zoho here, for security reasons I'm not posting it";
              $param= "authtoken=".$token."&scope=crmapi";
              $ch = curl_init();
              curl_setopt($ch, CURLOPT_URL, $url);
              curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
              curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
              curl_setopt($ch, CURLOPT_TIMEOUT, 30);
              curl_setopt($ch, CURLOPT_POST, 1);
              curl_setopt($ch, CURLOPT_POSTFIELDS, $param);
              $result = curl_exec($ch);
              curl_close($ch);
              echo $result;
              var_dump($result);
              return $result;