HikVision DS-K1T804AMF - ISAPI AccessControl Event Retrieval Fails with "Invalid Content" Error

kurdking

n3wb
Jan 26, 2025
2
0
Iraq,Erbil
I'm attempting to retrieve access control events from a HikVision DS-K1T804AMF terminal using the ISAPI endpoint:


URL: Method: POSTAuthentication: Digest


Request Body:
JSON:
{
    "AcsEventCond": {
        "searchID": "12345678-1234-1234-1234-123456789012",
        "searchResultPosition": 0,
        "maxResults": 10,
        "major": 5
    }
}


Response:

JSON:
{
    "requestURL": "/ISAPI/AccessControl/AcsEvent?format=json",
    "statusCode": 6,
    "statusString": "Invalid Content",
    "subStatusCode": "badParameters",
    "errorCode": 1610612737,
    "errorMsg": "0x60000001"
}

I've tried multiple variations of the request body, but consistently receive an "Invalid Content" error.


Questions:


  • What could be causing the "Invalid Content" error?
  • Are there specific parameter requirements for this model's event retrieval?
  • Any known API quirks with the DS-K1T804AMF terminal?
Firmware is latest updated.

Your answer is really appreciated.
 
Try with starttime and endtime, perhaps it expects boundaries

{
"AcsEventCond": {
"searchID": "Search9",
"searchResultPosition": 0,
"maxResults": 30,
"major": 5,
"startTime":"2024-12-18T00:00:00+01:00",
"endTime":"2025-12-18T23:59:59+01:00"
}
}

Or check if your fw is too old. As i see here is from 24'

Firmware_V1.4.1_240318