KalturaException: The access to service [baseEntry->upload] is forbidden in C:\wamp\www\test\Kaltura

Hey guys, I can’t upload baseEntry without getting the title error. Any problem with my code?:

require_once(‘KalturaClient.php’);
define(“KALTURA_PARTNER_ID”, id);
define(“KALTURA_PARTNER_SERVICE_SECRET”, “secret”);

$partnerUserID = ‘ANON’;

$config = new KalturaConfiguration(KALTURA_PARTNER_ID);
$client = new KalturaClient($config);
$ks = $client->session->start(KALTURA_PARTNER_SERVICE_SECRET, $partnerUserID, KalturaSessionType::ADMIN, KALTURA_PARTNER_ID);
echo $ks;
$fileData = $_FILES[“file”][“tmp_name”];

$token = $client->baseEntry->upload($fileData);

[attempting to debug]