Unable to retrieve the captured image from the DS-K1T341A device when it pushes the event log

Veasna

n3wb
Jul 2, 2025
3
1
Phnom Penh
Code:
Received event_log: {
        "ipAddress":    "172.16.xxx",
        "portNo":       5267,
        "protocol":     "HTTP",
        "macAddress":   "98:df:xxx",
        "channelID":    1,
        "dateTime":     "2025-07-03T10:34:18+07:00",
        "activePostCount":      1,
        "eventType":    "AccessControllerEvent",
        "eventState":   "active",
        "eventDescription":     "Access Controller Event",
        "deviceID":     "0db992a11c124",
        "AccessControllerEvent":        {
                "deviceName":   "Access Controller",
                "majorEventType":       5,
                "subEventType": 75,
                "name": "យិន បានហូ",
                "cardReaderKind":       1,
                "cardReaderNo": 1,
                "doorNo":       1,
                "verifyNo":     128,
                "employeeNoString":     "1702",
                "serialNo":     728,
                "userType":     "normal",
                "currentVerifyMode":    "face",
                "frontSerialNo":        727,
                "attendanceStatus":     "undefined",
                "label":        "",
                "statusValue":  0,
                "mask": "no",
                "helmet":       "unknown",
                "picturesNumber":       1,
                "purePwdVerifyEnable":  true,
                "FaceRect":     {
                        "height":       0.249,
                        "width":        0.442,
                        "x":    0.278,
                        "y":    0.462
                }
        }
      }

I received this event log from the device, sent to my server, but it doesn't include any captured image data. If anyone knows how to retrieve image data from the event log, please let me know. Thank you in advance!
 
is it HTTPListener, ISUPListener , ISAPI CRUD or SDK ?
Please be more specific.

Did you enable option to capture image on authentication inside device configuration?
This is the HTTP listener where I receive the event when the device captures a face and sends it to my server.
As shown in the picture, I have enabled all options related to the face image.

1751533534618.png
 
It should work, check your parsing.

The response you get is multipart data, so dont parse json only but also binary after boundery

Screenshot 2025-07-04 084830.png

The other way around is doing manual ISAPI pull and then doing GET request to pictureURL

Screenshot 2025-07-04 085226.png