*Result Codes

Configuration Article | CA-20220907-TP-87

VDG Sense | API | References

This table list the possible result codes as returned from http or xml commands. A value of 0 means no error. Negative values means some kind of error, stated in the table below. The meaning of positive return values is defined by the command the answer belongs to.

Error code 

 Code message 

Description

Error code 

 Code message 

Description

0

Ok

Ok, no error.

-1

Not implemented

Function not implemented.

-2

No device

No device found for the supplied cameraid/deviceid.

-3

Error historical image

Error retrieving historical image.

-4

Invalid Timestamp.

Invalid datetime format. See Timestamp.

-5

Error live image

Error retrieving live image.

-6

Error historical Data

Error retrieving historical image data.

-7

Preset out of range

Preset number out of range. Valid numbers are [1..64].

-8

No FaceR

System or device not set for face recognition.

-9

No record

The record search is not found

-10

Not enough parameters

There are not enough parameters supplied for this function.

-11

No image

There is no image found to return.

-12

No Diva

There is no server with the supplied id (What is DIVA?).

-13

No monitor

There is no monitor with the supplied id.

-14

No layout

There is no layout with the supplied id.

-15

No panel

There is no panel with the supplied id.

-16

No multiLayout

There is no multilayout with the supplied id.

-17

No server

There is no server with the supplied id.

-18

General error

An undefined error occured

-19

No dome

The device is not a dome device.

-20

No CarR

System or device not set for license plate recognition.

-21

Device not active

The device is not active in the current profile and cannot produce any results.

-22

Value is out of range

The supplied value is out of range.

-23

An empty value is not allowed

The supplied value is out of range.

-24

Invalid action

The action is not a valid action.

-25

No macro

There is no macro with the supplied id.

-26

Action name does not exist

The supplied action name does not exist.

-27

Invalid action parameters

At least one action parameter does not exist.

-28

Not a Diva client

There is no client with the supplied divaid.

-29

User is not allowed to perform command

The (api) user logged in to the server does not have sufficient rights to perform the command.

-30

VideoTag does not exist

The supplied videotag id does not exist.

-31

Invalid Pretime

 

-32

No id parameter found

 

-33

No serverId parameter found

No serverID parameter given.

-34

No deviceID parameter found

No deviceID parameter given.

-35

No startdate parameter found

No startdate parameter given.

-36

No enddate parameter found

No enddate parameter given.

-37

Enddate before startdate error

Enddate parameter is before the startdate parameter.

-38

Time difference above limit

Enddate is >5 minutes than startdate.

-39

File not found

 

-40

Clip not found

Clip with given ID does not exist

-41

Start time in the future

Startdate exceeds enddate parameter

-42

No response from server

 

-43

No description parameter found

 

-44

Clip is pending or busy

 

-45

Database offline

The database cannot be reached

-46

Image size is not valid

 

-47

Failed after multiple tries to create clip

 

-48

No video data for timestamp

No video data for the given timestamp

-49

Output size exceeds retention size

The exported clip filesize is bigger than the maximum retention size

-50

Storage location doesn't exist

The given Filepath parameter refers to an invalid location.

-51

Clip build failed

 

-52

Video tag is still active

Tag cannot be exported while active

-53

Device connection lost

Device has no connection

-54

System Status plugin not active

The System Status plugin is not enabled or the Sense PluginManager is not running