Kaltura API Exception

Even thought the analytics are working correctly, I am getting the following error in kaltlog

2016-07-21 08:03:51 [0.000881] [] [569775467] [4] [API] [KalturaDispatcher->dispatch] CRIT: exception ‘Exception’ with message ‘Action does not exist!’ in /opt/kaltura/app/infra/log/KalturaLog.php:74
Stack trace:
#0 /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php(56): KalturaLog::crit(‘Action does not…’)

#3 {main}
2016-07-21 08:03:51 [0.000683] [] [569775467] [5] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘Action “trackevent” does not exists for service “analytics”’ in /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php:57
Stack trace:
#0 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(113): KalturaDispatcher->dispatch(‘analytics’, ‘trackEvent’, Array)

Yes, I saw those lines too. It seems ‘normal’ in a way.


This is not fatal in any way but, nonetheless, I’d like to look into it, I am unable to find such entries in my logs, looking at the latest stable, i.e 11.19.0.
Can you please specify which version you’re using and attach a larger portion of the log so I can see what led to the final exception?


When I preview a video within knc and select my player I get these lines:

2016-07-22 07:07:43 [0.000188] [] [1141412406] [2] [API] [global] INFO: API-start pid:9496
2016-07-22 07:07:43 [0.006574] [] [877780971] [4] [API] [KalturaDispatcher->dispatch] CRIT: exception ‘Exception’ with message ‘Action does not exist!’ in /opt/kaltura/app/infra/log/KalturaLog.php:74
Stack trace:
0 /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php(56): KalturaLog::crit(‘Action does not…’)

==> /opt/kaltura/log/kaltura_api_v3.log <==
2016-07-22 07:07:43 [0.037291] [] [877780971] [5] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘Action “trackevent” does not exists for service “analytics”’ in /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php:57
Stack trace:
0 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(113): KalturaDispatcher->dispatch(‘analytics’, ‘trackEvent’, Array)

Without clicking play, just viewing the player.
Those lines repeat every 10 seconds when I play the movie.

I’m using Kaltura CE 11.18, and as kaikretschmann_1 said, i get it every few seconds when playing a video.

This issue is still happening with version 12.4.

The HTML5 player make a request for an action that does not exist in service analytics:

GET http://example.com/api_v3/index.php?service=analytics&apiVersion=3.1&expiry=86400&clientTag=kwidget%3Av2.49&format=1&ignoreNull=1&action=trackEvent&entryId=0_1afgupth&partnerId=undefined&eventType=1&sessionId=13ecac39-4e66-8df0-ba9c-622f8d25ff44&eventIndex=1&bufferTime=0&actualBitrate=-1&flavourId=-1&referrer=http%3A%2F%2Fexample.com%2Findex.php%2Fextwidget%2Fpreview%2Fpartner_id%2F101%2Fuiconf_id%2F23448276%2Fentry_id%2F0_1afgupth%2Fembed%2Fdynamic%3F%26flashvars%5BstreamerType%5D%3Dauto&deliveryType=auto&sessionStartTime=null&uiConfId=23448276&clientVer=2.49&position=0&playbackType=vod&ks=YjkwYjEyN2IxN2NiMDQ4YTIxNDk1ZjQ5MzgyM2E0OWI0MDY4ZmQ4OHwxMDE7MTAxOzE0Nzk0MjM5MjI7MDsxNDc5MzM3NTIyLjA4MjI7MDt2aWV3Oiosd2lkZ2V0OjE7Ow%3D%3D&kalsig=c21e24690deaa26410360de9ab69f227

{code: “ACTION_DOES_NOT_EXISTS”,…}args:{ACTION_NAME: “trackevent”, SERVICE_NAME: “analytics”}code:"ACTION_DOES_NOT_EXISTS"message:"Action “trackevent” does not exists for service “analytics”"objectType:“KalturaAPIException”

Is an issue on the player (configuration?) or on the backend?


The ‘analytics’ service is a new API for analytics, meant to eventually replace the ‘report’ service, which is the current way of getting analytics reports. It’s currently missing from the CE version but you can safely ignore the error.