OPC UA Status Codes

OPC UA status-code constants.

Every value of ua::Status. Each carries its own anchor, so a mention anywhere in the documentation links to the value itself rather than to a truncated list.

ua::Status

enum

Good - The operation succeeded.

GoodSubscriptionTransferred - The subscription was transferred to another session.

GoodCompletesAsynchronously - The processing will complete asynchronously.

GoodOverload - Sampling has slowed down due to resource limitations.

GoodClamped - The value written was accepted but was clamped.

GoodLocalOverride - The value has been overridden.

GoodEntryInserted - The data or event was successfully inserted into the historical database.

GoodEntryReplaced - The data or event field was successfully replaced in the historical database.

GoodNoData - No data exists for the requested time range or event filter.

GoodMoreData - More data is available in the time range beyond the number of values requested.

GoodCommunicationEvent - The communication layer has raised an event.

GoodShutdownEvent - The system is shutting down.

GoodCallAgain - The operation is not finished and needs to be called again.

GoodNonCriticalTimeout - A non-critical timeout occurred.

GoodResultsMayBeIncomplete - The server should have followed a reference to a node in a remote server but did not.

GoodDataIgnored - The request specifies fields which are not valid for the EventType or cannot be saved by the historian.

GoodEdited - The value does not come from the real source and has been edited by the server.

GoodPostActionFailed - There was an error in execution of these post-actions.

GoodRetransmissionQueueNotSupported - The Server does not support retransmission queue and acknowledgement of sequence numbers is not available.

GoodDependentValueChanged - A dependent value has been changed but the change has not been applied to the device.

GoodSubNormal - The value is derived from multiple sources and has the required number of Good sources, but less than the full number of Good sources.

GoodPasswordChangeRequired - The log-on for the user succeeded but the user is required to change the password.

GoodEdited_DependentValueChanged - It is delivered with a dominant Variable value when a dependent Variable has changed but the change has not been applied.

GoodEdited_DominantValueChanged - It is delivered with a dependent Variable value when a dominant Variable has changed but the change has not been applied.

GoodEdited_DominantValueChanged_DependentValueChanged - It is delivered with a dependent Variable value when a dominant or dependent Variable has changed but change has not been applied.

GoodCascadeInitializationAcknowledged - The value source supports cascade handshaking and the value has been Initialized based on an initialization request from a cascade secondary.

GoodCascadeInitializationRequest - The value source supports cascade handshaking and is requesting initialization of a cascade primary.

GoodCascadeNotInvited - The value source supports cascade handshaking, however, the source's current state does not allow for cascade.

GoodCascadeNotSelected - The value source supports cascade handshaking, however, the source has not selected the corresponding cascade primary for use.

GoodFaultStateActive - There is a fault state condition active in the value source.

GoodInitiateFaultState - A fault state condition is being requested of the destination.

GoodCascade - The value is accurate, and the signal source supports cascade handshaking.

Uncertain - The operation was uncertain.

UncertainReferenceOutOfServer - One of the references to follow in the relative path references to a node in the address space in another server.

UncertainNoCommunicationLastUsableValue - Communication to the data source has failed.

UncertainLastUsableValue - Whatever was updating this value has stopped doing so.

UncertainSubstituteValue - The value is an operational value that was manually overwritten.

UncertainInitialValue - The value is an initial value for a variable that normally receives its value from another variable.

UncertainSensorNotAccurate - The value is at one of the sensor limits.

UncertainEngineeringUnitsExceeded - The value is outside of the range of values defined for this parameter.

UncertainSubNormal - The data value is derived from multiple sources and has less than the required number of Good sources.

UncertainDataSubNormal - The aggregate value is derived from multiple values and has less than the required number of Good values.

UncertainReferenceNotDeleted - The server was not able to delete all target references.

UncertainNotAllNodesAvailable - The list of references may not be complete because the underlying system is not available.

UncertainDominantValueChanged - The related EngineeringUnit has been changed but the Variable Value is still provided based on the previous unit.

UncertainDependentValueChanged - A dependent value has been changed but the change has not been applied to the device.

UncertainTransducerInManual - The value may not be accurate because the transducer is in manual mode.

UncertainSimulatedValue - The value is simulated.

UncertainSensorCalibration - The value may not be accurate due to a sensor calibration fault.

UncertainConfigurationError - The value may not be accurate due to a configuration issue.

Bad - The operation failed.

BadUnexpectedError - An unexpected error occurred.

BadInternalError - An internal error occurred as a result of a programming or configuration error.

BadOutOfMemory - Not enough memory to complete the operation.

BadResourceUnavailable - An operating system resource is not available.

BadCommunicationError - A low level communication error occurred.

BadEncodingError - Encoding halted because of invalid data in the objects being serialized.

BadDecodingError - Decoding halted because of invalid data in the stream.

BadEncodingLimitsExceeded - The message encoding/decoding limits imposed by the stack have been exceeded.

BadUnknownResponse - An unrecognized response was received from the server.

BadTimeout - The operation timed out.

BadServiceUnsupported - The server does not support the requested service.

BadShutdown - The operation was cancelled because the application is shutting down.

BadServerNotConnected - The operation could not complete because the client is not connected to the server.

BadServerHalted - The server has stopped and cannot process any requests.

BadNothingToDo - No processing could be done because there was nothing to do.

BadTooManyOperations - The request could not be processed because it specified too many operations.

BadDataTypeIdUnknown - The extension object cannot be (de)serialized because the data type id is not recognized.

BadCertificateInvalid - The certificate provided as a parameter is not valid.

BadSecurityChecksFailed - An error occurred verifying security.

BadCertificateTimeInvalid - The certificate has expired or is not yet valid.

BadCertificateIssuerTimeInvalid - An issuer certificate has expired or is not yet valid.

BadCertificateHostNameInvalid - The HostName used to connect to a server does not match a HostName in the certificate.

BadCertificateUriInvalid - The URI specified in the ApplicationDescription does not match the URI in the certificate.

BadCertificateUseNotAllowed - The certificate may not be used for the requested operation.

BadCertificateIssuerUseNotAllowed - The issuer certificate may not be used for the requested operation.

BadCertificateUntrusted - The certificate is not trusted.

BadCertificateRevocationUnknown - It was not possible to determine if the certificate has been revoked.

BadCertificateIssuerRevocationUnknown - It was not possible to determine if the issuer certificate has been revoked.

BadCertificateRevoked - The certificate has been revoked.

BadCertificateIssuerRevoked - The issuer certificate has been revoked.

BadUserAccessDenied - User does not have permission to perform the requested operation.

BadIdentityTokenInvalid - The user identity token is not valid.

BadIdentityTokenRejected - The user identity token is valid but the server has rejected it.

BadSecureChannelIdInvalid - The specified secure channel is no longer valid.

BadInvalidTimestamp - The timestamp is outside the range allowed by the server.

BadNonceInvalid - The nonce does appear to be not a random value or it is not the correct length.

BadSessionIdInvalid - The session id is not valid.

BadSessionClosed - The session was closed by the client.

BadSessionNotActivated - The session cannot be used because ActivateSession has not been called.

BadSubscriptionIdInvalid - The subscription id is not valid.

BadRequestHeaderInvalid - The header for the request is missing or invalid.

BadTimestampsToReturnInvalid - The timestamps to return parameter is invalid.

BadRequestCancelledByClient - The request was cancelled by the client.

BadNoCommunication - Communication with the data source is defined, but not established, and there is no last known value available.

BadWaitingForInitialData - Waiting for the server to obtain values from the underlying data source.

BadNodeIdInvalid - The syntax the node id is not valid or refers to a node that is not valid for the operation.

BadNodeIdUnknown - The node id refers to a node that does not exist in the server address space.

BadAttributeIdInvalid - The attribute is not supported for the specified Node.

BadIndexRangeInvalid - The syntax of the index range parameter is invalid.

BadIndexRangeNoData - No data exists within the range of indexes specified.

BadDataEncodingInvalid - The data encoding is invalid.

BadDataEncodingUnsupported - The server does not support the requested data encoding for the node.

BadNotReadable - The access level does not allow reading or subscribing to the Node.

BadNotWritable - The access level does not allow writing to the Node.

BadOutOfRange - The value was out of range.

BadNotSupported - The requested operation is not supported.

BadNotFound - A requested item was not found or a search operation ended without success.

BadObjectDeleted - The object cannot be used because it has been deleted.

BadNotImplemented - Requested operation is not implemented.

BadMonitoringModeInvalid - The monitoring mode is invalid.

BadMonitoredItemIdInvalid - The monitoring item id does not refer to a valid monitored item.

BadMonitoredItemFilterInvalid - The monitored item filter parameter is not valid.

BadMonitoredItemFilterUnsupported - The server does not support the requested monitored item filter.

BadFilterNotAllowed - A monitoring filter cannot be used in combination with the attribute specified.

BadStructureMissing - A mandatory structured parameter was missing or null.

BadEventFilterInvalid - The event filter is not valid.

BadContentFilterInvalid - The content filter is not valid.

BadFilterOperandInvalid - The operand used in a content filter is not valid.

BadContinuationPointInvalid - The continuation point provide is longer valid.

BadNoContinuationPoints - The operation could not be processed because all continuation points have been allocated.

BadReferenceTypeIdInvalid - The reference type id does not refer to a valid reference type node.

BadBrowseDirectionInvalid - The browse direction is not valid.

BadNodeNotInView - The node is not part of the view.

BadServerUriInvalid - The ServerUri is not a valid URI.

BadServerNameMissing - No ServerName was specified.

BadDiscoveryUrlMissing - No DiscoveryUrl was specified.

BadSemaphoreFileMissing - The semaphore file specified by the client is not valid.

BadRequestTypeInvalid - The security token request type is not valid.

BadSecurityModeRejected - The security mode does not meet the requirements set by the server.

BadSecurityPolicyRejected - The security policy does not meet the requirements set by the server.

BadTooManySessions - The server has reached its maximum number of sessions.

BadUserSignatureInvalid - The user token signature is missing or invalid.

BadApplicationSignatureInvalid - The signature generated with the client certificate is missing or invalid.

BadNoValidCertificates - The client did not provide at least one software certificate that is valid and meets the profile requirements for the server.

BadRequestCancelledByRequest - The request was cancelled by the client with the Cancel service.

BadParentNodeIdInvalid - The parent node id does not to refer to a valid node.

BadReferenceNotAllowed - The reference could not be created because it violates constraints imposed by the data model.

BadNodeIdRejected - The requested node id was reject because it was either invalid or server does not allow node ids to be specified by the client.

BadNodeIdExists - The requested node id is already used by another node.

BadNodeClassInvalid - The node class is not valid.

BadBrowseNameInvalid - The browse name is invalid.

BadBrowseNameDuplicated - The browse name is not unique among nodes that share the same relationship with the parent.

BadNodeAttributesInvalid - The node attributes are not valid for the node class.

BadTypeDefinitionInvalid - The type definition node id does not reference an appropriate type node.

BadSourceNodeIdInvalid - The source node id does not reference a valid node.

BadTargetNodeIdInvalid - The target node id does not reference a valid node.

BadDuplicateReferenceNotAllowed - The reference type between the nodes is already defined.

BadInvalidSelfReference - The server does not allow this type of self reference on this node.

BadReferenceLocalOnly - The reference type is not valid for a reference to a remote server.

BadNoDeleteRights - The server will not allow the node to be deleted.

BadServerIndexInvalid - The server index is not valid.

BadViewIdUnknown - The view id does not refer to a valid view node.

BadTooManyMatches - The requested operation has too many matches to return.

BadQueryTooComplex - The requested operation requires too many resources in the server.

BadNoMatch - The requested operation has no match to return.

BadMaxAgeInvalid - The max age parameter is invalid.

BadHistoryOperationInvalid - The history details parameter is not valid.

BadHistoryOperationUnsupported - The server does not support the requested operation.

BadWriteNotSupported - The server does not support writing the combination of value, status and timestamps provided.

BadTypeMismatch - The value supplied for the attribute is not of the same type as the attribute's value.

BadMethodInvalid - The method id does not refer to a method for the specified object.

BadArgumentsMissing - The client did not specify all of the input arguments for the method.

BadTooManySubscriptions - The server has reached its maximum number of subscriptions.

BadTooManyPublishRequests - The server has reached the maximum number of queued publish requests.

BadNoSubscription - There is no subscription available for this session.

BadSequenceNumberUnknown - The sequence number is unknown to the server.

BadMessageNotAvailable - The requested notification message is no longer available.

BadInsufficientClientProfile - The client of the current session does not support one or more Profiles that are necessary for the subscription.

BadTcpServerTooBusy - The server cannot process the request because it is too busy.

BadTcpMessageTypeInvalid - The type of the message specified in the header invalid.

BadTcpSecureChannelUnknown - The SecureChannelId and/or TokenId are not currently in use.

BadTcpMessageTooLarge - The size of the message chunk specified in the header is too large.

BadTcpNotEnoughResources - There are not enough resources to process the request.

BadTcpInternalError - An internal error occurred.

BadTcpEndpointUrlInvalid - The server does not recognize the QueryString specified.

BadRequestInterrupted - The request could not be sent because of a network interruption.

BadRequestTimeout - Timeout occurred while processing the request.

BadSecureChannelClosed - The secure channel has been closed.

BadSecureChannelTokenUnknown - The token has expired or is not recognized.

BadSequenceNumberInvalid - The sequence number is not valid.

BadConfigurationError - There is a problem with the configuration that affects the usefulness of the value.

BadNotConnected - The variable should receive its value from another variable, but has never been configured to do so.

BadDeviceFailure - There has been a failure in the device/data source that generates the value that has affected the value.

BadSensorFailure - There has been a failure in the sensor from which the value is derived by the device/data source.

BadOutOfService - The source of the data is not operational.

BadDeadbandFilterInvalid - The deadband filter is not valid.

BadRefreshInProgress - This Condition refresh failed, a Condition refresh operation is already in progress.

BadConditionAlreadyDisabled - This condition has already been disabled.

BadConditionDisabled - Property not available, this condition is disabled.

BadEventIdUnknown - The specified event id is not recognized.

BadNoData - No data exists for the requested time range or event filter.

BadDataLost - Data is missing due to collection started/stopped/lost.

BadDataUnavailable - Expected data is unavailable for the requested time range due to an un-mounted volume, an off-line archive or tape, or similar reason for temporary unavailability.

BadEntryExists - The data or event was not successfully inserted because a matching entry exists.

BadNoEntryExists - The data or event was not successfully updated because no matching entry exists.

BadTimestampNotSupported - The Client requested history using a TimestampsToReturn the Server does not support.

BadInvalidArgument - One or more arguments are invalid.

BadConnectionRejected - Could not establish a network connection to remote server.

BadDisconnect - The server has disconnected from the client.

BadConnectionClosed - The network connection has been closed.

BadInvalidState - The operation cannot be completed because the object is closed, uninitialized or in some other invalid state.

BadEndOfStream - Cannot move beyond end of the stream.

BadNoDataAvailable - No data is currently available for reading from a non-blocking stream.

BadWaitingForResponse - The asynchronous operation is waiting for a response.

BadOperationAbandoned - The asynchronous operation was abandoned by the caller.

BadExpectedStreamToBlock - The stream did not return all data requested (possibly because it is a non-blocking stream).

BadWouldBlock - Non blocking behaviour is required and the operation would block.

BadSyntaxError - A value had an invalid syntax.

BadMaxConnectionsReached - The operation could not be finished because all available connections are in use.

BadRequestTooLarge - The request message size exceeds limits set by the server.

BadResponseTooLarge - The response message size exceeds limits set by the client or server.

BadEventNotAcknowledgeable - The event cannot be acknowledged.

BadInvalidTimestampArgument - The defined timestamp to return was invalid.

BadProtocolVersionUnsupported - The applications do not have compatible protocol versions.

BadStateNotActive - The sub-state machine is not currently active.

BadFilterOperatorInvalid - An unrecognized operator was provided in a filter.

BadFilterOperatorUnsupported - A valid operator was provided, but the server does not provide support for this filter operator.

BadFilterOperandCountMismatch - The number of operands provided for the filter operator was less then expected for the operand provided.

BadFilterElementInvalid - The referenced element is not a valid element in the content filter.

BadFilterLiteralInvalid - The referenced literal is not a valid value.

BadIdentityChangeNotSupported - The server does not support changing the user identity assigned to the session.

BadNotTypeDefinition - The provided Nodeid was not a type definition nodeid.

BadViewTimestampInvalid - The view timestamp is not available or not supported.

BadViewParameterMismatch - The view parameters are not consistent with each other.

BadViewVersionInvalid - The view version is not available or not supported.

BadConditionAlreadyEnabled - This condition has already been enabled.

BadDialogNotActive - The dialog condition is not active.

BadDialogResponseInvalid - The response is not valid for the dialog.

BadConditionBranchAlreadyAcked - The condition branch has already been acknowledged.

BadConditionBranchAlreadyConfirmed - The condition branch has already been confirmed.

BadConditionAlreadyShelved - The condition has already been shelved.

BadConditionNotShelved - The condition is not currently shelved.

BadShelvingTimeOutOfRange - The shelving time not within an acceptable range.

BadAggregateListMismatch - The requested number of Aggregates does not match the requested number of NodeIds.

BadAggregateNotSupported - The requested Aggregate is not support by the server.

BadAggregateInvalidInputs - The aggregate value could not be derived due to invalid data inputs.

BadBoundNotFound - No data found to provide upper or lower bound value.

BadBoundNotSupported - The server cannot retrieve a bound for the variable.

BadAggregateConfigurationRejected - The aggregate configuration is not valid for specified node.

BadTooManyMonitoredItems - The request could not be processed because there are too many monitored items in the subscription.

BadDominantValueChanged - The related EngineeringUnit has been changed but this change has not been applied to the device.

BadDependentValueChanged - A dependent value has been changed but the change has not been applied to the device.

BadRequestNotAllowed - The request was rejected by the server because it did not meet the criteria set by the server.

BadTooManyArguments - Too many arguments were provided.

BadSecurityModeInsufficient - The operation is not permitted over the current secure channel.

BadDataSetIdInvalid - The DataSet specified for the DataSetWriter creation is invalid.

BadTransactionPending - The operation is not allowed because a transaction is in progress.

BadLocked - The requested operation is not allowed, because the Node is locked by a different application.

BadIndexRangeDataMismatch - The written data does not match the IndexRange specified.

BadRequiresLock - The requested operation is not allowed, because the Node is not locked by the application.

BadLocaleNotSupported - The locale in the requested write operation is not supported.

BadServerTooBusy - The Server does not have the resources to process the request at this time.

BadNoValue - The variable has no default value and no initial value.

BadTransactionFailed - The operation failed and all changes which were part of the transaction are rolled back.

BadCertificateChainIncomplete - The certificate chain is incomplete.

BadLicenseExpired - The server requires a license to operate in general or to perform a service or operation, but existing license is expired.

BadLicenseLimitsExceeded - The server has limits on number of allowed operations / objects, based on installed licenses, and these limits where exceeded.

BadLicenseNotAvailable - The server does not have a license which is required to operate in general or to perform a service or operation.

BadNotExecutable - The executable attribute does not allow the execution of the method.

BadNumericOverflow - The number was not accepted because of a numeric overflow.

BadRequestNotComplete - The request has not been processed by the server yet.

BadCertificatePolicyCheckFailed - The certificate does not meet the requirements of the security policy.

BadAlreadyExists - An equivalent rule already exists.

BadEdited_OutOfRange - It is delivered with a Variable value when Variable has changed but the value is not legal.

BadInitialValue_OutOfRange - It is delivered with a Variable value when a source Variable has changed but the value is not legal.

BadOutOfRange_DominantValueChanged - It is delivered with a dependent Variable value when a dominant Variable has changed and the value is not legal.

BadEdited_OutOfRange_DominantValueChanged - It is delivered with a dependent Variable value when a dominant Variable has changed, the value is not legal and the change has not been applied.

BadOutOfRange_DominantValueChanged_DependentValueChanged - It is delivered with a dependent Variable value when a dominant or dependent Variable has changed and the value is not legal.

BadEdited_OutOfRange_DominantValueChanged_DependentValueChanged - It is delivered with a dependent Variable value when a dominant or dependent Variable has changed, the value is not legal and the change has not been applied.

BadTicketRequired - The device identity needs a ticket before it can be accepted.

BadTicketInvalid - The device identity needs a ticket before it can be accepted.

Was this page helpful?