Missed mandatory parameter "secret"

I use Kaltura API to get players list. It worked fine, but a few days ago it stopped working. Now it says “Missed parameter secret” when I try to start a new session.

$config = new \Kaltura\Client\Configuration();
$secret = '...';

$this->_client = new \Kaltura\Client\Client( $config );
$this->_client->setPartnerId( '...' );

$this->_api_session = $this->_client->getSessionService();
$ks = $this->_api_session->start( $secret );

Here is what I see in the log:

service url: [http://www.kaltura.com/]
curl: http://www.kaltura.com//api_v3/index.php?service=session&action=start
post: {"format":"2","ignoreNull":"true","clientTag":"php5:15-09-15","apiVersion":"3.3.0","secret":"xxxxxxxxxxxxxxxxxxx","userId":"","type":"0","expiry":"86400","partnerId":"xxxxx","kalsig":"74df07acc8732b51639e73dd79716c4b"}
server: [pa-front-api31], session: []
result (serialized): <?xml version="1.0" encoding="utf-8"?><xml><result><error><objectType>KalturaAPIException</objectType><code>MISSING_MANDATORY_PARAMETER</code><message>Missing parameter &quot;secret&quot;</message><args><item><objectType>KalturaApiExceptionArg</objectType><name>PARAM_NAME</name><value>secret</value></item></args></error></result><executionTime>0.004533052444458</executionTime></xml>

What happens with session start method?

Hey,

Please see: https://github.com/kaltura/server/issues/3185#issuecomment-139528575

Thanks a lot! That helps! Updated composer to use 10.19.0.x-dev version.