Hikvision DS-2CD2032-I PUT-request failed to import configurationFile

sandwich

n3wb
Joined
Jul 8, 2015
Messages
1
Reaction score
0
We use Hikvision DS-2CD2032-I cameras.

I have a problem with importing configurationFile with camera settings using the PUT request.
I've tried performing the PUT request from Ubuntu terminal using curl:
Code:
curl --basic -u admin:12345 -X PUT httpL//10.0.15.18/System/configurationFile --data configurationFile
Or using the POSTman Chrome extension. In both cases, it was a failure.

The response I got was:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="1.0" 
    xmlns="http://www.hikvision.com/ver10/XMLSchema">
    <requestURL>/System/configurationFile</requestURL>
    <statusCode>3</statusCode>
    <statusString>Device Error</statusString>
</ResponseStatus>
For the statusCode=3 there is a slight explanation:
"Device Error:
if the device can not perform the request for a hardware error. An error message in statusString format to indicate operation failure".
taken from the page 12 of "IP Media Device Management Protocol User Guide" (2012-03).

Why is this happening? What steps should I do to make it work?
I've also made some attempts repeating PUT request on some other DS-2CD2032-I camera devices but got the same error response.

While performing PUT request turned into a problem, the GET request for exporting the configurationFile worked like a charm. configurationFile can easily be obtained using:
Code:
wget http://admin:12345@10.0.15.18/System/configurationFile
from Ubuntu Terminal or a simple browser request.
 
Last edited by a moderator:
Top