Very often a connection error occurs. But the reason for this error simply cannot be found, because you do not return it. Why not just do: ``` if(curl_errno($ch)){ $retval->error = curl_error($ch); } ```