Try to add an image to a product with php-sdk v2

Try to add an image to a product with php-sdk v2

Hi, 
I used the example from " https://www.zoho.com/crm/developer/docs/php-sdk/record-samples.html?src=upload_photo"
I changed the example for my needs:
public function uploadPhoto($module_api_name, $record_id, $url)
{
$record = ZCRMRestClient::getInstance()->getRecordInstance($module_api_name, $record_id); // To get record instance
$responseIns = $record->uploadPhoto($url); // $photoPath - absolute path of the photo to be uploaded.
echo "\nHTTP Status Code:" . $responseIns->getHttpStatusCode(); // To get http response code
echo "\nStatus:" . $responseIns->getStatus(); // To get response status
echo "\nMessage:" . $responseIns->getMessage(); // To get response message
echo "\nCode:" . $responseIns->getCode(); // To get status code
echo "\nDetails:" . $responseIns->getDetails()['id'];
}
public function uploadPhoto($module_api_name, $record_id, $url)
{
$record = ZCRMRecord::getInstance($module_api_name, $record_id); // To get record instance
$responseIns = $record->uploadPhoto($url); // $photoPath - absolute path of the photo to be uploaded.
echo "\nHTTP Status Code:" . $responseIns->getHttpStatusCode(); // To get http response code
echo "\nStatus:" . $responseIns->getStatus(); // To get response status
echo "\nMessage:" . $responseIns->getMessage(); // To get response message
echo "\nCode:" . $responseIns->getCode(); // To get status code
echo "\nDetails:" . $responseIns->getDetails()['id'];
}
and called it with:
$ZohoProducts->uploadPhoto('Contacts', '195460000000212007', 'http://icons.iconarchive.com/icons/google/noto-emoji-people-face/256/10173-old-man-medium-skin-tone-icon.png');
I always get this response:
HTTP Status Code:0
Status:
Message:
Code:
Details:
Where's my fault?
Best regards
Gunnar