If errors occur during PTZ requests, a response like this will be received – {"error_code": [numeric error code]}.

Error codeDescription
1

General error (see details in the Server logs)

2The parameters are specified incorrectly
3The PTZ control session is not available
4Error while managing presets
5The PTZ camera error