public static function loadResults($lineitem_url, $access_token, &$debug_log=false) {

        $lineitem_url = trim($lineitem_url);

        $ch = curl_init();

        $headers = [
            'Authorization: Bearer '. $access_token,
            'Content-Type: '.self::RESULTS_TYPE,   //  TODO: Convince Claude this is wrong
            'Accept: '.self::RESULTS_TYPE
        ];

        $actual_url = $lineitem_url."/results";
        curl_setopt($ch, CURLOPT_URL, $actual_url);
        curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

        if (is_array($debug_log) ) $debug_log[] = 'Line Items URL: '.$actual_url;
        if (is_array($debug_log) ) $debug_log[] = $headers;

        $results = curl_exec($ch);
        $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        curl_close ($ch);
        if ( is_array($debug_log) ) $debug_log[] = "Sent results request, received status=$httpcode (".strlen($results)." characters)";
        if ( is_array($debug_log)) $debug_log[] = substr($results, 0, 3000);

        $json = json_decode($results, false);
        if ( $json === null ) {
            $retval = "Unable to parse returned results JSON:". json_last_error_msg();
            if ( is_array($debug_log) ) $debug_log[] = $retval;
            return $retval;
        }

        if ( $httpcode == 200 && is_array($json) ) {
            if ( is_array($debug_log) ) $debug_log[] = "Loaded results";
            return $json;
        }

        $status = isset($json->error) ? $json->error : "Unable to load results";
        if ( is_array($debug_log) ) $debug_log[] = "Error status: $status";
        return $status;
    }