Hi - Thanks for the reply @jess . This is SaaS environment. Here’s the code producing the error:
<?php
require_once('lib/KalturaClient.php');
$config = new KalturaConfiguration(partner_id);
$config->serviceUrl = 'https://www.kaltura.com';
$client = new KalturaClient($config);
$ks = $client->session->start(
"admin_secret",
"username",
KalturaSessionType::ADMIN,
partner_id);
$client->setKS($ks);
$id = 00000000; //object id of entry (not the entryid)
$xmlData = "<metadata>
<DepartmentName>Other</DepartmentName>
<Contact>John Doe</Contact>
<PresentationDate>1498536000</PresentationDate>
<PresenterName></PresenterName>
<Location>NH, USA</Location>
</metadata>";
$version = 1;
try {
$result = $client->metadata->update($id, $xmlData, $version);
var_dump($result);
} catch (Exception $e) {
echo $e->getMessage();
}
?>