5.11.4.4 StatusCodes

Table 55 defines values for the results parameter that are specific to this Service. Common StatusCodes are defined in Table 179.

Table 55 – Write Operation Level Result Codes
Symbolic IdDescription
Good_CompletesAsynchronously

See Table 178 for the description of this result code.

The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.

Bad_NodeIdInvalidSee Table 179 for the description of this result code.
Bad_NodeIdUnknownSee Table 179 for the description of this result code.
Bad_AttributeIdInvalidSee Table 179 for the description of this result code.
Bad_IndexRangeInvalid

See Table 179 for the description of this result code.

It is also used if writing of IndexRange is supported in general for a Node but the passed IndexRange cannot be written by the Server.

Bad_IndexRangeNoDataSee Table 179 for the description of this result code.
Bad_IndexRangeDataMismatchThe data to be written does not match the IndexRange.
Bad_WriteNotSupported

The requested write operation is not supported.

If a Client attempts to write any value, status code, timestamp combination and the Server does not support the requested combination (which could be a single quantity such as just timestamp); than the Server shall not perform any write on this Node and shall return this StatusCode for this Node. It is also used if writing of IndexRanges is not supported for a Node.

Bad_NotWritableSee Table 179 for the description of this result code.
Bad_UserAccessDenied

See Table 178 for the description of this result code.

The current user does not have permission to write the attribute.

Bad_OutOfRange

See Table 179 for the description of this result code.

If a Client attempts to write a value outside the valid range like a value not contained in the enumeration data type of the Node, the Server shall return this StatusCode for this Node.

This result code can be returned for any value that has the right DataType but does not comply with the restrictions defined by the Server implementation e.g. if a written String contains unsupported characters.

Bad_TypeMismatchSee Table 179 for the description of this result code.
Bad_DataEncodingUnsupportedSee Table 179 for the description of this result code.
Bad_NoCommunicationSee Table 179 for the description of this result code.
Bad_LocaleNotSupportedThe locale in the requested write operation is not supported.