Resource
HTTP
Method
Description
/ports/{portnumber}/
diagnostics
/current
GET
Read out of actual current values at the specific
port
/ports/{portnumber}/
diagnostics
/voltage
GET
Read out of actual voltage values at the specific
port
/ports/{portnumber}/
diagnostics
/temperature
GET
Read out of actual temperature values at the spe‐
cific port
8.2.1.5
Status code and error messages
Errors may occur when processing HTTP requests. Several errors are defined.
The following rules apply to troubleshooting:
•
If multiple errors occur while processing the request, only the first detected error is
responded to.
•
If no REST API commands are available, error 103 is returned.
Error messages are structured as follows:
{
“code”: 102,
“message”: “Internal communication error”
}
The following table provides an overview of the possible error codes:
Table 17: Error messages
Error
code
HTTP
code
Message
Note
General error
101
500
Internal server error
This error can occur with any request
102
500
Internal communication error
This error can occur with any request
103
404
Operation not supported
This error is returned if the requested
function does not exist.
104
400
Action locked by another client
Fieldbus controller or another participant
blocks access
105
501
IODD feature not supported
SIG350 does not support IODDs
106
501
MQTT feature not supported
150
403
Permission denied
Access is not allowed. Check access
rights in the configuration. This error can
occur with any request.
JSON parsing error
201
400
JSON parsing failed
Error while parsing the incoming JSON
value
202
400
JSON data value invalid
Error while parsing a specific JSON value,
such as an incorrect IP address
203
400
JSON data type invalid
E.g.: data type string instead of number
204
400
Enumeration value unknown
205
400
JSON data value out of range
Exceeds the minimum or maximum value
OPERATION
8
8027836./2022-06-10 | SICK
O P E R A T I N G I N S T R U C T I O N S | Sensor Integration Gateway - SIG350
43
Subject to change without notice