-
Incident report
-
Resolution: Unsupported version
-
Major
-
None
-
1.9.0 (alpha)
Error messages should have their own differing error number. The error number is an excellent way for programs that use the API to determine what the error is.
The following is an example of two errors that both have the same error number but different error messages.
add host host=test dns=test
An error was received from the Zabbix server
Error code: -32500
Error message: Application error.
Error data: No groups for host [ test ]
add host host=host dns=test groupids=1
An error was received from the Zabbix server
Error code: -32500
Error message: Application error.
Error data: Unknown ZABBIX internal error [CHost]