How to catch "writing to database failed (not all is recorded)" event?

Hi,

Is there an event that can catch “Writing to database failed (not all is recorded)” through the SDK?

We’re listening for events below currently and none are capturing this.

MessageCommunication.ProvideCurrentStateResponse
 
MessageId.System.SystemConfigurationChangedIndication
 
MessageId.Server.NewEventIndication

Thanks,

Dani

The text “Writing to database failed (not all is recorded)” that is written in the Management Client, originates from the status API.

This is not sent out as an event, but only as device status from the RecorderStatusService2:

https://doc.developer.milestonesys.com/html/StatusHelp/class_recorder_status_service2_1_1_media_stream_device_status_base.html#ab197145282703ad12d4f7948099d530a

When the ErrorWritingGop is true, we show the error text.

So - you will need to subscribe to using SubscribeDeviceStatus too get the information

https://doc.developer.milestonesys.com/html/StatusHelp/class_recorder_status_service2.html#ac20c8156ed74fe6ceaaa8789c3377502

Regards Klaus

Hi Klaus,

Thanks for the very informative & detailed response. I think this will help us get exactly what we’re looking for.

Appreciate all your help! :blush:

Thanks,

Dani